{"id":223345,"date":"2014-05-19T16:20:02","date_gmt":"2014-05-19T12:20:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=223345"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=223345","title":{"rendered":"<span class=\"post_title\">\u0418\u0433\u0440\u0430 2048 \u0432 Wolfram Mathematica<\/span>"},"content":{"rendered":"<div class=\"content html_format\">       <i>\u041f\u0435\u0440\u0435\u0432\u043e\u0434 \u043f\u043e\u0441\u0442\u0430 <a href=\"http:\/\/blog.wolfram.com\/2014\/05\/09\/2048\/\">2048, Wolfram Style<\/a>, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0433\u043e \u0434\u043b\u044f \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0431\u043b\u043e\u0433\u0430 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 Wolfram Research <a href=\"http:\/\/blog.wolfram.com\/author\/dan-fortunato\/\">\u0414\u044d\u043d\u043e\u043c \u0424\u043e\u0440\u0442\u0443\u043d\u0430\u0442\u043e<\/a>, \u043c\u043b\u0430\u0434\u0448\u0438\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u043c Wolfram|Alpha Parser Content.<\/i><\/p>\n<p>  <i>\u0410\u0440\u0445\u0438\u0432 \u0441 \u0444\u0430\u0439\u043b\u043e\u043c Wolfram Mathematica, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442\u0441\u044f \u043a\u043e\u0434, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u043a\u0430\u0447\u0430\u0442\u044c <a href=\"http:\/\/data.wolframmathematica.ru\/habrahabr\/2048-Game-In-Wolfram-Mathematica\/WMRS-2048-Game-In-Wolfram-Mathematica.zip\">\u0437\u0434\u0435\u0441\u044c<\/a>.<\/i><\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_43.gif\" height=\"375\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/1dc\/d7d\/2a8\/1dcd7d2a8a192b8539d925aebb2c81cb.png\" width=\"549\"\/><\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0435 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u043d\u0435\u0434\u0435\u043b\u044c \u0432\u044b \u0432\u044b\u0445\u043e\u0434\u0438\u043b\u0438 \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442, \u0442\u043e \u0432\u044b \u0432\u0440\u044f\u0434 \u043b\u0438 \u043c\u043e\u0433\u043b\u0438 \u043d\u0435 \u0432\u0441\u0442\u0440\u0435\u0442\u0438\u0442\u044c\u0441\u044f \u0441 \u0438\u0433\u0440\u043e\u0439 \u043f\u043e\u0434 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c <a href=\"http:\/\/gabrielecirulli.github.io\/2048\/\">2048<\/a>, \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u043d\u043e\u0439 \u0413\u0430\u0431\u0440\u0438\u044d\u043b\u0435\u043c \u0427\u0438\u0440\u0443\u043b\u043b\u0438. \u0411\u0443\u0434\u0443\u0447\u0438 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u043d\u0430 \u043f\u043e\u0445\u043e\u0436\u0438\u0445 \u0438\u0433\u0440\u0430\u0445, <a href=\"https:\/\/itunes.apple.com\/us\/app\/1024!\/id823499224\">1024!<\/a> \u043e\u0442 Veewo Studio \u0438 <a href=\"http:\/\/asherv.com\/threes\/\">THREES<\/a> \u043e\u0442 \u0410\u0448\u0435\u0440\u0430 \u0412\u043e\u043b\u043b\u043c\u0435\u0440\u0430, \u044d\u0442\u0430 \u0438\u0433\u0440\u0430 \u0438\u043c\u0435\u0435\u0442 \u043f\u0440\u043e\u0441\u0442\u0443\u044e \u043c\u0435\u0445\u0430\u043d\u0438\u043a\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0437\u0430\u0442\u044f\u043d\u0435\u0442 \u0432\u0430\u0441 \u043d\u0430\u0434\u043e\u043b\u0433\u043e \u2014 \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0430\u0439\u0442\u0435 \u043f\u043e \u043f\u043e\u043b\u044e \u0444\u0438\u0448\u043a\u0438, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u044b \u0441\u0442\u0435\u043f\u0435\u043d\u0438 \u0447\u0438\u0441\u043b\u0430 2 \u0438 \u0441\u043e\u0435\u0434\u0438\u043d\u044f\u0439\u0442\u0435 \u0438\u0445 \u043f\u043e\u043f\u0430\u0440\u043d\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0435\u0449\u0451 \u0431\u043e\u043b\u0435\u0435 \u0432\u044b\u0441\u043e\u043a\u0438\u0435 \u0441\u0442\u0435\u043f\u0435\u043d\u0438. \u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0446\u0435\u043b\u044c \u0438\u0433\u0440\u044b \u2014 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0444\u0438\u0448\u043a\u0443 2048. \u0414\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0441\u043b\u043e\u0436\u043d\u043e \u043e\u0431\u044a\u044f\u0441\u043d\u0438\u0442\u044c, \u043d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0430 \u0438 \u0443\u0432\u043b\u0435\u043a\u0430\u0442\u0435\u043b\u044c\u043d\u0430 \u044d\u0442\u0430 \u0438\u0433\u0440\u0430, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u0432\u0430\u043c \u0441\u0430\u043c\u0438\u043c \u0441\u044b\u0433\u0440\u0430\u0442\u044c \u0432 \u043d\u0435\u0435.<\/p>\n<p>  \u0427\u0442\u043e\u0431\u044b \u043e\u0442\u0434\u0430\u0442\u044c \u0434\u043e\u043b\u0436\u043d\u043e\u0435 \u044d\u0442\u043e\u0439 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0438\u0433\u0440\u0435 (\u0438 \u0432 \u0447\u0435\u0441\u0442\u044c \u0432\u0441\u0435\u0445 \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0438\u0433\u0440!), \u044f \u0440\u0435\u0448\u0438\u043b \u043f\u0440\u043e\u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0441\u044e \u043c\u043e\u0449\u044c <a href=\"http:\/\/www.wolfram.com\/language\/\">\u042f\u0437\u044b\u043a\u0430 Wolfram<\/a>, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0435\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0430\u0448\u0443 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e 2048. \u041d\u0430\u0447\u043d\u0451\u043c!<br \/>  <a name=\"habracut\"><\/a><\/p>\n<p>  \u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u043e\u0439 \u0434\u043b\u044f \u0438\u0433\u0440\u043e\u0432\u043e\u0433\u043e \u043f\u043e\u043b\u044f \u043f\u043e\u0441\u043b\u0443\u0436\u0438\u0442 \u043c\u0430\u0442\u0440\u0438\u0446\u0430 4\u04454, \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u043d\u0430\u044f \u043f\u0443\u0441\u0442\u044b\u043c\u0438 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u043c\u0438 (\u0441\u0442\u0440\u043e\u043a\u0430\u043c\u0438 \u043d\u0443\u043b\u0435\u0432\u043e\u0439 \u0434\u043b\u0438\u043d\u044b):<\/p>\n<p>  In[1]:=<\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_1.gif\" height=\"42\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/5ba\/a83\/3f9\/5baa833f92ff1f624c2a24205607652b.gif\" width=\"222\"\/><\/p>\n<p>  Out[2]=<\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_2.png\" height=\"18\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/07e\/902\/cda\/07e902cdacc5c47d3b18d68adb371988.png\" width=\"340\"\/><\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u043e\u0432\u043e\u0439 \u0438\u0433\u0440\u044b \u044f \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0443 \u043d\u0430 \u043f\u043e\u043b\u0435 \u0434\u0432\u0435 \u0444\u0438\u0448\u043a\u0438 \u0441\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c\u0438 2 \u0438\u043b\u0438 4. \u0411\u043e\u043b\u044c\u0448\u0438\u0439 \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442 \u044f \u043e\u0442\u0434\u0430\u043c \u0444\u0438\u0448\u043a\u0435 2, \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u043e\u043d\u0430 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u044f\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u043d\u0430 \u043f\u043e\u043b\u0435 \u0447\u0430\u0449\u0435.<\/p>\n<p>  In[3]:=<\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_3.png\" height=\"88\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/b9d\/859\/802\/b9d859802ac587386527bf35683c0b63.png\" width=\"519\"\/><\/p>\n<p>  In[4]:=<\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_4.png\" height=\"203\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/04a\/c44\/57c\/04ac4457c0e571d76661c08bca9cdbed.png\" width=\"518\"\/><\/p>\n<p>  Out[4]=<\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_5.png\" height=\"18\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/627\/d95\/8bc\/627d958bc09e48aa52a85dd5cba3b13c.png\" width=\"360\"\/><\/p>\n<p>  \u041d\u0430\u0441\u0442\u0430\u043b\u043e \u0432\u0440\u0435\u043c\u044f \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0430\u0448\u0435 \u0438\u0433\u0440\u043e\u0432\u043e\u0435 \u043f\u043e\u043b\u0435 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043a\u0440\u0430\u0441\u0438\u0432\u0435\u0435. \u042f \u043c\u043e\u0433\u0443 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u044c \u0441\u0442\u0438\u043b\u044c \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0439 \u0438\u0433\u0440\u044b, \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0432 \u0435\u0451 CSS-\u0441\u0442\u0438\u043b\u044c (CSS \u2014 Cascading Style Sheets, \u043a\u0430\u0441\u043a\u0430\u0434\u043d\u044b\u0435 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0441\u0442\u0438\u043b\u0435\u0439). \u041a\u0430\u043a \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0438\u0434\u0435\u0442\u044c, \u0432 CSS \u044f \u0441\u043c\u043e\u0433 \u043d\u0430\u0439\u0442\u0438 \u0446\u0432\u0435\u0442\u0430 \u0434\u043b\u044f \u0444\u043e\u043d\u0430 \u0438 \u0442\u0435\u043a\u0441\u0442\u0430 \u0432\u0441\u0435\u0445 \u0444\u0438\u0448\u0435\u043a.<\/p>\n<p>  In[5]:=<\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_6.gif\" height=\"548\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/162\/619\/f77\/162619f77e40856319429ccbe4ffcd56.gif\" width=\"594\"\/><\/p>\n<p>  Out[8]=<\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_7.png\" height=\"249\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/3e1\/50b\/574\/3e150b57499a5b831599461a55d190f2.png\" width=\"447\"\/><\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0443 \u043c\u0435\u043d\u044f \u0435\u0441\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0439 \u043a\u0430\u0436\u0434\u044b\u0439 \u043d\u043e\u043c\u0435\u0440 \u0444\u0438\u0448\u043a\u0438 \u0438 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0435\u043c\u0443 \u0446\u0432\u0435\u0442\u0430! \u0414\u0430\u043b\u0435\u0435 \u044f \u043c\u043e\u0433\u0443 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0435\u0433\u043e, \u0441\u043e\u0437\u0434\u0430\u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u0434\u043b\u044f \u043f\u043e\u0438\u0441\u043a\u0430 \u0446\u0432\u0435\u0442\u0430 \u0438 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0430 \u0435\u0451 \u0438\u0437 HEX (\u0448\u0435\u0441\u0442\u043d\u0430\u0434\u0446\u0430\u0442\u0438\u0440\u0438\u0447\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438 \u0446\u0432\u0435\u0442\u0430, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u043e\u0439 \u0432 CSS) \u0432 RGB (\u0446\u0432\u0435\u0442\u043e\u0432\u0443\u044e \u043c\u043e\u0434\u0435\u043b\u044c, \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u043d\u0430 \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0438 \u043a\u0440\u0430\u0441\u043d\u043e\u0433\u043e, \u0437\u0435\u043b\u0451\u043d\u043e\u0433\u043e \u0438 \u0441\u0438\u043d\u0435\u0433\u043e \u0446\u0432\u0435\u0442\u043e\u0432). \u0422\u0430\u043a\u0436\u0435 \u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044e \u0446\u0432\u0435\u0442\u0430 \u0434\u043b\u044f \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0438\u0433\u0440\u043e\u0432\u043e\u0433\u043e \u043f\u043e\u043b\u044f \u0438, \u043d\u0430 \u0432\u0441\u044f\u043a\u0438\u0439 \u0441\u043b\u0443\u0447\u0430\u0439, \u0434\u043b\u044f \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0446\u0432\u0435\u0442\u043e\u0432 \u043f\u043e-\u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e.<\/p>\n<p>  In[9]:=<\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_8.png\" height=\"88\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/b26\/2ad\/d81\/b262add815d141e3c13b814bff71bd6d.png\" width=\"600\"\/><\/p>\n<p>  In[10]:=<\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_9.gif\" height=\"180\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/2a0\/985\/f66\/2a0985f66c38acddbb81b1382694c8f7.gif\" width=\"607\"\/><\/p>\n<p>  In[13]:=<\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_10.gif\" height=\"65\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/173\/49d\/b4a\/17349db4a36a1cb8ed1d359b7fad693c.gif\" width=\"570\"\/><\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e \u0446\u0432\u0435\u0442\u043e\u0432\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0434\u043b\u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u0438, \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u044b\u0432\u0430\u044e\u0449\u0435\u0439 \u0444\u0438\u0448\u043a\u0438. \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0440\u043e\u044f\u0432\u0438\u0442\u044c \u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0440\u0430\u0437\u043c\u0435\u0440 \u0448\u0440\u0438\u0444\u0442\u0430 \u043c\u0435\u043d\u044c\u0448\u0435, \u043a\u043e\u0433\u0434\u0430 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0446\u0438\u0444\u0440 \u0432 \u0447\u0438\u0441\u043b\u0435 \u0440\u0430\u0441\u0442\u0451\u0442.<\/p>\n<p>  In[15]:=<\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_11.png\" height=\"65\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/d6f\/40a\/44a\/d6f40a44a2d5a3bfab3088c95b33cfa9.png\" width=\"579\"\/><\/p>\n<p>  In[16]:=<\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_12.png\" height=\"180\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/ca8\/ba0\/f1c\/ca8ba0f1cc47f1d9df05e1ccbcaa7d66.png\" width=\"528\"\/><\/p>\n<p>  In[17]:=<\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_13.png\" height=\"18\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/178\/156\/888\/178156888751f503078ee9f006c356dc.png\" width=\"260\"\/><\/p>\n<p>  \u042f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043b \u0444\u0443\u043d\u043a\u0446\u0438\u044e drawTile \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u0432\u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0438 \u0435\u0451 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043b\u0435\u0433\u043a\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c\u2026<\/p>\n<p>  In[18]:=<\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_14.png\" height=\"18\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/ca5\/887\/4f4\/ca58874f423bbd0fb6b1812402e7a56b.png\" width=\"609\"\/><\/p>\n<p>  Out[18]=<\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_15.gif\" height=\"227\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/fce\/705\/a37\/fce705a37da5540adabe2e843f33dd8f.gif\" width=\"600\"\/><\/p>\n<p>  \u0427\u0442\u043e\u0431\u044b \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c \u044d\u0442\u043e\u0442 \u0441\u0442\u0438\u043b\u044c \u043a \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u043c\u0443 \u0438\u0433\u0440\u043e\u0432\u043e\u043c\u0443 \u043f\u043e\u043b\u044e, \u044f \u043f\u0440\u043e\u0441\u0442\u043e \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u044e \u043a\u0430\u0436\u0434\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0438\u0433\u0440\u043e\u0432\u043e\u0433\u043e \u043f\u043e\u043b\u044f \u0432 \u043c\u0430\u0442\u0440\u0438\u0446\u0435 \u0438 \u0440\u0430\u0441\u043f\u043e\u043b\u0430\u0433\u0430\u044e \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0443\u044e \u0435\u043c\u0443 \u0444\u0438\u0448\u043a\u0443 \u043d\u0430 \u043d\u0443\u0436\u043d\u043e\u043c \u043c\u0435\u0441\u0442\u0435. <\/p>\n<p>  In[19]:=<\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_16.png\" height=\"111\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/0fc\/39f\/213\/0fc39f2138abfd5e3ae4864932d2bcc6.png\" width=\"492\"\/><\/p>\n<p>  In[20]:=<\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_17.png\" height=\"203\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/2d3\/023\/4f5\/2d30234f5dbf90edaf10eb1b913c0af6.png\" width=\"458\"\/><\/p>\n<p>  Out[20]=<\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_18.gif\" height=\"474\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/03f\/e07\/ca0\/03fe07ca04c044c7b98fb7fcb84d0cfb.gif\" width=\"472\"\/><\/p>\n<p>  \u0412\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043a\u0440\u0430\u0441\u0438\u0432\u043e! \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u043d\u0430\u0443\u0447\u0438\u0442\u044c\u0441\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0438\u0433\u0440\u043e\u0439.<\/p>\n<p>  \u041a\u043e\u0433\u0434\u0430 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043d\u0430\u0436\u0430\u0442\u0438\u0435 \u043e\u0434\u043d\u043e\u0439 \u0438\u0437 \u043a\u043b\u0430\u0432\u0438\u0448, \u044f \u0445\u043e\u0447\u0443, \u0447\u0442\u043e\u0431\u044b \u0432\u0441\u0435 \u0444\u0438\u0448\u043a\u0438 \u0441\u0434\u0432\u0438\u0433\u0430\u043b\u0438\u0441\u044c \u043f\u043e \u0434\u043e\u0441\u043a\u0435 \u0432 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u043c \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0438 \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043a\u043e \u0434\u0430\u043b\u0435\u043a\u043e, \u043d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u044d\u0442\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0435 \u0444\u0438\u0448\u043a\u0438 \u0434\u043e\u043b\u0436\u043d\u044b \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u0442\u044c\u0441\u044f. \u042f \u043c\u043e\u0433\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043e\u043f\u0446\u0438\u044e <a href=\"http:\/\/reference.wolfram.com\/mathematica\/ref\/NotebookEventActions.html\">NotebookEventActions<\/a>, \u0447\u0442\u043e\u0431\u044b \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u0436\u0430\u0442\u0438\u044f \u043a\u043b\u0430\u0432\u0438\u0448 \u0438 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435 \u0440\u0435\u0430\u0433\u0438\u0440\u043e\u0432\u0430\u0442\u044c. \u042f \u0441\u0434\u0435\u043b\u0430\u044e \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u043b\u043e\u0441\u044c \u043a\u043b\u0430\u0432\u0438\u0448\u0430\u043c\u0438 wasd, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u043b\u044e\u0431\u044b\u0435 \u0434\u0440\u0443\u0433\u0438\u0435:<\/p>\n<p>  In[21]:=<\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_19.png\" height=\"88\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/697\/7df\/9e4\/6977df9e4c55d4f5a7388a14d8ded6db.png\" width=\"383\"\/><\/p>\n<p>  In[22]:=<\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_20.png\" height=\"88\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/7a0\/e2a\/fbd\/7a0e2afbd40a45f89c0920b784f50861.png\" width=\"382\"\/><\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0434\u0443\u043c\u0430\u0435\u043c \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u0436\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442, \u043a\u043e\u0433\u0434\u0430 \u0444\u0438\u0448\u043a\u0438 \u0441\u0434\u0432\u0438\u0433\u0430\u044e\u0442\u0441\u044f, \u0441\u043a\u0430\u0436\u0435\u043c, \u0432\u043b\u0435\u0432\u043e. \u0412 \u043f\u0435\u0440\u0432\u0443\u044e \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u043c\u043d\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0445 \u0444\u0438\u0448\u0435\u043a. \u041a\u0430\u0436\u0434\u0430\u044f \u0441\u0442\u0440\u043e\u043a\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043f\u0440\u0438 \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u044c\u043d\u043e\u043c \u0441\u043c\u0435\u0449\u0435\u043d\u0438\u0438 \u0432\u0435\u0440\u0442\u0438\u043a\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u043e\u0432\u043f\u0430\u0434\u0435\u043d\u0438\u044f \u043d\u0435 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u044e\u0442\u0441\u044f. \u042f \u0445\u043e\u0447\u0443 \u043d\u0430\u0439\u0442\u0438 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0438\u0437 \u0434\u0432\u0443\u0445 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0445 \u0447\u0438\u0441\u0435\u043b, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0441 \u043f\u0443\u0441\u0442\u044b\u043c\u0438 \u043a\u043b\u0435\u0442\u043a\u0430\u043c\u0438 \u043c\u0435\u0436\u0434\u0443 \u043d\u0438\u043c\u0438, \u0438 \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u0438\u0445 \u0441\u0443\u043c\u043c\u043e\u0439. \u0417\u0434\u0435\u0441\u044c \u043d\u0430 \u043f\u043e\u043c\u043e\u0449\u044c \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u043c\u043e\u0449\u044c \u042f\u0437\u044b\u043a\u0430 Wolfram, \u0438 \u044f \u043c\u043e\u0433\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u043e\u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441 \u0437\u0430\u0434\u0430\u043d\u043d\u044b\u043c \u0448\u0430\u0431\u043b\u043e\u043d\u044b\u043c \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435\u043c, \u0447\u0442\u043e\u0431\u044b \u043b\u0435\u0433\u043a\u043e \u044d\u0442\u043e \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0438\u0442\u044c.<\/p>\n<p>  In[23]:=<\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_21.png\" height=\"65\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/f84\/70d\/acc\/f8470daccd45d6d7bd1b18599c8ea389.png\" width=\"535\"\/><\/p>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0441\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0445 \u0444\u0438\u0448\u0435\u043a, \u0432\u0441\u0451, \u0447\u0442\u043e \u044f \u0434\u043e\u043b\u0436\u0435\u043d \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u2014 \u044d\u0442\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0443\u0441\u0442\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u0441\u043f\u0440\u0430\u0432\u0430, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0441\u0442\u0440\u043e\u043a\u0443. \u041f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0430 \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u0441\u0442\u0440\u043e\u043a \u0438\u0433\u0440\u043e\u0432\u043e\u0433\u043e \u043f\u043e\u043b\u044f.<\/p>\n<p>  In[24]:=<\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_22.png\" height=\"42\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/7ff\/ac7\/f17\/7ffac7f1703ba25161dff6c038eabe94.png\" width=\"594\"\/><\/p>\n<p>  \u0421\u0434\u0432\u0438\u0433 \u0432\u043f\u0440\u0430\u0432\u043e \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0442\u0430\u043a \u0436\u0435, \u0441 \u043e\u0434\u043d\u0438\u043c \u043d\u0435\u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435\u043c \u2014 \u044f \u0445\u043e\u0447\u0443, \u0447\u0442\u043e\u0431\u044b \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u044f \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0445 \u0444\u0438\u0448\u0435\u043a \u0441\u043f\u0440\u0430\u0432\u0430 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u043b\u0438\u0441\u044c \u0434\u043e \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0439, \u043d\u0430\u0445\u043e\u0434\u044f\u0449\u0438\u0445\u0441\u044f \u043b\u0435\u0432\u0435\u0435. \u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0441\u0442\u0440\u043e\u043a\u0443 {$empty, 2, 2, 2}. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044e combineLeft \u0438 \u043d\u0430\u0436\u0430\u0432 \u0441\u0442\u0440\u0435\u043b\u043a\u0443 \u0432\u043b\u0435\u0432\u043e, \u044f \u043f\u043e\u043b\u0443\u0447\u0443 \u0441\u0442\u0440\u043e\u043a\u0443 {$empty, $empty, 4, 2}, \u043d\u043e \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u044f \u0445\u043e\u0447\u0443, \u0447\u0442\u043e\u0431\u044b \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0438\u043b\u0430\u0441\u044c \u043f\u0440\u0430\u0432\u0430\u044f \u043f\u0430\u0440\u0430 \u0434\u0432\u043e\u0435\u043a. \u041f\u0435\u0440\u0435\u0432\u043e\u0440\u043e\u0442 \u0441\u0442\u0440\u043e\u043a\u0438, \u0441\u0434\u0432\u0438\u0433 \u044f\u0447\u0435\u0435\u043a \u0432\u043b\u0435\u0432\u043e \u0438 \u043e\u0431\u0440\u0430\u0442\u043d\u044b\u0439 \u043f\u0435\u0440\u0435\u0432\u043e\u0440\u043e\u0442 \u043b\u0435\u0433\u043a\u043e \u0440\u0435\u0448\u0430\u044e\u0442 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443.<\/p>\n<p>  In[25]:=<\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_23.png\" height=\"18\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/b51\/a27\/9bc\/b51a279bc822d69a8f7a162d52132f07.png\" width=\"550\"\/><\/p>\n<p>  In[26]:=<\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_24.png\" height=\"42\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/30a\/f34\/603\/30af34603697427d6b693c4850dff014.png\" width=\"594\"\/><\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c, \u043a\u043e\u0433\u0434\u0430 \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0434\u0432\u0435 \u044d\u0442\u0438\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0438, \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0434\u0432\u0438\u0433 \u0432\u0432\u0435\u0440\u0445 \u0438 \u0432\u043d\u0438\u0437 \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e! \u0421\u0434\u0432\u0438\u0433 \u0432\u0432\u0435\u0440\u0445 \u2014 \u044d\u0442\u043e \u0442\u043e \u0436\u0435 \u0441\u0430\u043c\u043e\u0435, \u0447\u0442\u043e \u0441\u0434\u0432\u0438\u0433 \u0432\u043b\u0435\u0432\u043e \u043d\u0430 \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u043c \u0438\u0433\u0440\u043e\u0432\u043e\u043c \u043f\u043e\u043b\u0435, \u0437\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0435 \u0442\u0440\u0430\u043d\u0441\u043f\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435. \u0422\u0430\u043a\u0438\u043c \u0436\u0435 \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u0435\u043c \u0441\u0432\u044f\u0437\u0430\u043d\u044b \u0438 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u0441\u0434\u0432\u0438\u0433\u0430 \u0432\u043f\u0440\u0430\u0432\u043e \u0438 \u0432\u043d\u0438\u0437.<\/p>\n<p>  In[27]:=<\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_25.gif\" height=\"111\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/361\/efb\/644\/361efb644471fd497c75e8d96b2fa2d8.gif\" width=\"460\"\/><\/p>\n<p>  \u0415\u0441\u043b\u0438 \u043a\u043b\u0430\u0432\u0438\u0448\u0430 \u043d\u0430\u0436\u0430\u0442\u0430, \u043d\u043e\u0432\u044b\u0435 \u0444\u0438\u0448\u043a\u0438 \u043d\u0430 \u043f\u043e\u043b\u0435 \u0434\u043e\u043b\u0436\u043d\u044b \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u0435\u0441\u043b\u0438 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u043f\u043e\u043b\u044f \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u043e\u0441\u044c, \u0442\u043e \u0435\u0441\u0442\u044c \u0435\u0441\u043b\u0438 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0444\u0438\u0448\u043a\u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u0441\u0442\u0438\u043b\u0438\u0441\u044c \u0438\u043b\u0438 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0438\u043b\u0438\u0441\u044c. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u0442\u044c \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0435 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0438\u0433\u0440\u043e\u0432\u043e\u0433\u043e \u043f\u043e\u043b\u044f.<\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0443\u0447\u0438\u043c\u0441\u044f \u0432\u0435\u0441\u0442\u0438 \u043f\u043e\u0434\u0441\u0447\u0451\u0442 \u043e\u0447\u043a\u043e\u0432 \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0435 \u0438\u0433\u0440\u044b. \u041a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437, \u043a\u043e\u0433\u0434\u0430 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u044f\u044e\u0442\u0441\u044f \u0434\u0432\u0435 \u0444\u0438\u0448\u043a\u0438, \u044f \u0441\u043e\u0431\u0438\u0440\u0430\u044e \u0438\u0445 \u0441\u0443\u043c\u043c\u0443 \u0444\u0443\u043d\u043a\u0446\u0438\u0435\u0439 <a href=\"http:\/\/reference.wolfram.com\/mathematica\/ref\/Sow.html\">Sow<\/a>, \u0430 \u043f\u043e\u0442\u043e\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e \u043d\u0430 \u0432\u0441\u0435\u0445 \u0441\u0443\u043c\u043c\u0430\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u044e <a href=\"http:\/\/reference.wolfram.com\/mathematica\/ref\/Reap.html?q=Reap&amp;amp;amp;lang=en\">Reap<\/a>, \u043a\u043e\u0433\u0434\u0430 \u0432\u0441\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0435 \u043e\u0431\u044a\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u044b. \u0422\u0430\u043a\u0436\u0435 \u044f \u0432\u044b\u0432\u043e\u0436\u0443 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043d\u0430\u0438\u0431\u043e\u043b\u044c\u0448\u0435\u0439 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u0439 \u043d\u0430 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0444\u0438\u0448\u043a\u0438.<\/p>\n<p>  In[29]:=<\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_26.png\" height=\"88\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/a19\/1a0\/36b\/a191a036b670c36976e7170fbbfcc327.png\" width=\"501\"\/><\/p>\n<p>  \u041d\u0430\u043a\u043e\u043d\u0435\u0446, \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u043d\u0430 \u0432\u044b\u0438\u0433\u0440\u044b\u0448 \u0438 \u043f\u0440\u043e\u0438\u0433\u0440\u044b\u0448. \u0418\u0433\u0440\u0430 \u0441\u0447\u0438\u0442\u0430\u0435\u0442\u0441\u044f \u0432\u044b\u0438\u0433\u0440\u0430\u043d\u043d\u043e\u0439, \u0435\u0441\u043b\u0438 \u043d\u0430\u0438\u0431\u043e\u043b\u044c\u0448\u0430\u044f \u0444\u0438\u0448\u043a\u0430 \u043d\u0430 \u043f\u043e\u043b\u0435 \u0438\u043c\u0435\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 2048 \u0438\u043b\u0438 \u0432\u044b\u0448\u0435. \u042f \u043f\u0440\u043e\u0438\u0433\u0440\u0430\u043b, \u0435\u0441\u043b\u0438 \u0434\u043e\u0441\u043a\u0430 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0430 \u0438 \u0443 \u043c\u0435\u043d\u044f \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0445 \u0445\u043e\u0434\u043e\u0432. \u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u044f \u0441\u043d\u043e\u0432\u0430 \u043c\u043e\u0433\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u044f\u0437\u044b\u043a \u0448\u0430\u0431\u043b\u043e\u043d\u043d\u044b\u0445 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0439, \u0447\u0442\u043e\u0431\u044b \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c, \u043e\u0441\u0442\u0430\u043b\u0438\u0441\u044c \u043b\u0438 \u043d\u0430 \u0434\u043e\u0441\u043a\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0435 \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u044f \u0444\u0438\u0448\u0435\u043a.<\/p>\n<p>  In[30]:=<\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_27.png\" height=\"88\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/82f\/6dd\/4b8\/82f6dd4b8f55b3fbdb328fa7d743b2d2.png\" width=\"592\"\/><\/p>\n<p>  In[31]:=<\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_28.png\" height=\"42\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/f8d\/609\/e03\/f8d609e0381cc87bb69681399a18b76f.png\" width=\"486\"\/><\/p>\n<p>  \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044e <a href=\"http:\/\/reference.wolfram.com\/mathematica\/ref\/Dynamic.html?q=Dynamic&amp;amp;amp;lang=en\">Dynamic<\/a>, \u044f \u043c\u043e\u0433\u0443 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u043c\u043e\u0435 \u0438\u0433\u0440\u043e\u0432\u043e\u0435 \u043f\u043e\u043b\u0435 \u0432 \u043f\u043e\u043b\u043d\u043e\u043c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u0432\u043d\u0435\u0441\u0451\u043d\u043d\u044b\u043c\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\u043c\u0438. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u044f \u043c\u043e\u0433\u0443 \u043e\u043a\u0440\u0443\u0436\u0438\u0442\u044c \u0432\u0441\u0451 \u044d\u0442\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u0435\u0439 <a href=\"http:\/\/reference.wolfram.com\/mathematica\/ref\/DynamicModule.html?q=DynamicModule&amp;amp;amp;lang=en\">DynamicModule<\/a> \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <a href=\"http:\/\/reference.wolfram.com\/mathematica\/ref\/Initialization.html?q=Initialization&amp;amp;amp;lang=en\">Initialization<\/a>, \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u043d\u0430\u0436\u0430\u0442\u0438\u0439 \u043a\u043b\u0430\u0432\u0438\u0448 \u0438 \u0438\u0433\u0440\u043e\u0432\u043e\u0435 \u043f\u043e\u043b\u0435. \u041f\u043e\u043c\u0435\u0441\u0442\u0438\u0432 DynamicModule \u0432\u043d\u0443\u0442\u0440\u044c <a href=\"http:\/\/reference.wolfram.com\/mathematica\/ref\/CreateDialog.html\">CreateDialog<\/a> \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0442\u044c \u0438\u0433\u0440\u0443 \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u043c \u043e\u043a\u043d\u0435.<\/p>\n<p>  \u041d\u0430\u043a\u043e\u043d\u0435\u0446, \u0438\u0433\u0440\u0430 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0433\u043e\u0442\u043e\u0432\u0430.<\/p>\n<p>  In[32]:=<\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_31.png\" height=\"1399\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/e49\/f9a\/0f2\/e49f9a0f2c44fea1f874adc6bce4b429.png\" width=\"624\"\/><\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_32.gif\" height=\"375\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/d0a\/885\/dd2\/d0a885dd251215446270bd28ea1f4208.gif\" width=\"549\"\/><\/p>\n<p>  \u0421\u0435\u0439\u0447\u0430\u0441 \u0432\u0441\u0451 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0432\u043f\u043e\u043b\u043d\u0435 \u0441\u0438\u043c\u043f\u0430\u0442\u0438\u0447\u043d\u043e, \u043d\u043e \u0443 \u043d\u0430\u0441 \u0432 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 Wolfram Research \u043c\u044b \u043b\u044e\u0431\u0438\u043c \u0447\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u0431\u043e\u043b\u0435\u0435\u2026 \u0437\u0430\u043e\u0441\u0442\u0440\u0435\u043d\u043d\u043e\u0435. \u0422\u0430\u043a\u043e\u0435, \u043a\u0430\u043a Spikey \u2014 \u043b\u043e\u0433\u043e\u0442\u0438\u043f\u044b \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0432\u0435\u0440\u0441\u0438\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b Mathematica \u0438 Wolfram|Alpha. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u043c \u0446\u0432\u0435\u0442\u0430 \u0444\u0438\u0448\u0435\u043a \u0438 \u0438\u0445 \u0444\u043e\u0440\u043c\u0443.<\/p>\n<p>  In[33]:=<\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_33.gif\" height=\"340\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/610\/888\/a35\/610888a3526b427d004781034b56793c.gif\" width=\"582\"\/><\/p>\n<p>  In[34]:=<\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_34.png\" height=\"111\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/4b5\/c43\/54b\/4b5c4354b00730ff4879cdbedc4ed663.png\" width=\"507\"\/><\/p>\n<p>  Out[34]=<\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_35.gif\" height=\"341\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/b65\/e1c\/ae1\/b65e1cae14b1658f2b76d28d3a019166.gif\" width=\"452\"\/><\/p>\n<p>  In[35]:=<\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_36.png\" height=\"88\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/2ce\/a30\/fd2\/2cea30fd2008ff2e8538342a912ef209.png\" width=\"579\"\/><\/p>\n<p>  In[36]:=<\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_37.png\" height=\"42\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/cfe\/eb4\/3cd\/cfeeb43cdb84b8e3f07a9c4e4255f2aa.png\" width=\"488\"\/><\/p>\n<p>  In[37]:=<\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_38.gif\" height=\"42\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/f7d\/d7b\/25a\/f7dd7b25a2e10a6c7b92d0b82f7de846.gif\" width=\"426\"\/><\/p>\n<p>  In[39]:=<\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_39.png\" height=\"18\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/6b5\/56a\/add\/6b556aadd7f080231a779a5d80f6b582.png\" width=\"261\"\/><\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u0442\u044c\u0441\u044f \u043c\u0435\u0436\u0434\u0443 \u0434\u0432\u0443\u043c\u044f \u0441\u0442\u0438\u043b\u044f\u043c\u0438 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043a\u043d\u043e\u043f\u043e\u043a.<\/p>\n<p>  In[40]:=<\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_40.png\" height=\"180\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/4e5\/a9f\/2b2\/4e5a9f2b26170a5dc61a4f64fbc44708.png\" width=\"612\"\/><\/p>\n<p>  Out[40]=<\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_41.png\" height=\"27\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/45b\/bad\/abf\/45bbadabfca90456fc7eef3090f9218c.png\" width=\"209\"\/><\/p>\n<p>  In[41]:=<\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_42.png\" height=\"1606\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/5aa\/f2f\/8a3\/5aaf2f8a3a91ca6d5f86080ce037d762.png\" width=\"624\"\/><\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_43.gif\" height=\"375\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/057\/5ce\/f19\/0575cef19f2568bbfda8ba8aa2bd8457.gif\" width=\"549\"\/><\/p>\n<p>  \u0423\u0434\u0430\u0447\u043d\u043e\u0439 \u0432\u0430\u043c \u0438\u0433\u0440\u044b!   \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/223345\/\"> http:\/\/habrahabr.ru\/post\/223345\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">       <i>\u041f\u0435\u0440\u0435\u0432\u043e\u0434 \u043f\u043e\u0441\u0442\u0430 <a href=\"http:\/\/blog.wolfram.com\/2014\/05\/09\/2048\/\">2048, Wolfram Style<\/a>, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0433\u043e \u0434\u043b\u044f \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0431\u043b\u043e\u0433\u0430 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 Wolfram Research <a href=\"http:\/\/blog.wolfram.com\/author\/dan-fortunato\/\">\u0414\u044d\u043d\u043e\u043c \u0424\u043e\u0440\u0442\u0443\u043d\u0430\u0442\u043e<\/a>, \u043c\u043b\u0430\u0434\u0448\u0438\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u043c Wolfram|Alpha Parser Content.<\/i><\/p>\n<p>  <i>\u0410\u0440\u0445\u0438\u0432 \u0441 \u0444\u0430\u0439\u043b\u043e\u043c Wolfram Mathematica, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442\u0441\u044f \u043a\u043e\u0434, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u043a\u0430\u0447\u0430\u0442\u044c <a href=\"http:\/\/data.wolframmathematica.ru\/habrahabr\/2048-Game-In-Wolfram-Mathematica\/WMRS-2048-Game-In-Wolfram-Mathematica.zip\">\u0437\u0434\u0435\u0441\u044c<\/a>.<\/i><\/p>\n<p>  <img loading=\"lazy\" decoding=\"async\" alt=\"2048-Game-In-Wolfram-Mathematica_43.gif\" height=\"375\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/1dc\/d7d\/2a8\/1dcd7d2a8a192b8539d925aebb2c81cb.png\" width=\"549\"\/><\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0435 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u043d\u0435\u0434\u0435\u043b\u044c \u0432\u044b \u0432\u044b\u0445\u043e\u0434\u0438\u043b\u0438 \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442, \u0442\u043e \u0432\u044b \u0432\u0440\u044f\u0434 \u043b\u0438 \u043c\u043e\u0433\u043b\u0438 \u043d\u0435 \u0432\u0441\u0442\u0440\u0435\u0442\u0438\u0442\u044c\u0441\u044f \u0441 \u0438\u0433\u0440\u043e\u0439 \u043f\u043e\u0434 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c <a href=\"http:\/\/gabrielecirulli.github.io\/2048\/\">2048<\/a>, \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u043d\u043e\u0439 \u0413\u0430\u0431\u0440\u0438\u044d\u043b\u0435\u043c \u0427\u0438\u0440\u0443\u043b\u043b\u0438. \u0411\u0443\u0434\u0443\u0447\u0438 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u043d\u0430 \u043f\u043e\u0445\u043e\u0436\u0438\u0445 \u0438\u0433\u0440\u0430\u0445, <a href=\"https:\/\/itunes.apple.com\/us\/app\/1024!\/id823499224\">1024!<\/a> \u043e\u0442 Veewo Studio \u0438 <a href=\"http:\/\/asherv.com\/threes\/\">THREES<\/a> \u043e\u0442 \u0410\u0448\u0435\u0440\u0430 \u0412\u043e\u043b\u043b\u043c\u0435\u0440\u0430, \u044d\u0442\u0430 \u0438\u0433\u0440\u0430 \u0438\u043c\u0435\u0435\u0442 \u043f\u0440\u043e\u0441\u0442\u0443\u044e \u043c\u0435\u0445\u0430\u043d\u0438\u043a\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0437\u0430\u0442\u044f\u043d\u0435\u0442 \u0432\u0430\u0441 \u043d\u0430\u0434\u043e\u043b\u0433\u043e \u2014 \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0430\u0439\u0442\u0435 \u043f\u043e \u043f\u043e\u043b\u044e \u0444\u0438\u0448\u043a\u0438, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u044b \u0441\u0442\u0435\u043f\u0435\u043d\u0438 \u0447\u0438\u0441\u043b\u0430 2 \u0438 \u0441\u043e\u0435\u0434\u0438\u043d\u044f\u0439\u0442\u0435 \u0438\u0445 \u043f\u043e\u043f\u0430\u0440\u043d\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0435\u0449\u0451 \u0431\u043e\u043b\u0435\u0435 \u0432\u044b\u0441\u043e\u043a\u0438\u0435 \u0441\u0442\u0435\u043f\u0435\u043d\u0438. \u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0446\u0435\u043b\u044c \u0438\u0433\u0440\u044b \u2014 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0444\u0438\u0448\u043a\u0443 2048. \u0414\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0441\u043b\u043e\u0436\u043d\u043e \u043e\u0431\u044a\u044f\u0441\u043d\u0438\u0442\u044c, \u043d\u0430\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0430 \u0438 \u0443\u0432\u043b\u0435\u043a\u0430\u0442\u0435\u043b\u044c\u043d\u0430 \u044d\u0442\u0430 \u0438\u0433\u0440\u0430, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e \u0432\u0430\u043c \u0441\u0430\u043c\u0438\u043c \u0441\u044b\u0433\u0440\u0430\u0442\u044c \u0432 \u043d\u0435\u0435.<\/p>\n<p>  \u0427\u0442\u043e\u0431\u044b \u043e\u0442\u0434\u0430\u0442\u044c \u0434\u043e\u043b\u0436\u043d\u043e\u0435 \u044d\u0442\u043e\u0439 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0438\u0433\u0440\u0435 (\u0438 \u0432 \u0447\u0435\u0441\u0442\u044c \u0432\u0441\u0435\u0445 \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0438\u0433\u0440!), \u044f \u0440\u0435\u0448\u0438\u043b \u043f\u0440\u043e\u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432\u0441\u044e \u043c\u043e\u0449\u044c <a href=\"http:\/\/www.wolfram.com\/language\/\">\u042f\u0437\u044b\u043a\u0430 Wolfram<\/a>, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u0435\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0430\u0448\u0443 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e 2048. \u041d\u0430\u0447\u043d\u0451\u043c!  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-223345","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/223345","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=223345"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/223345\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=223345"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=223345"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=223345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}