Friday, June 8th, 2007
Category: Games
<
p
>Kevin Hoang Le and his team have created an
Ajax Chinese Chess game.
It’s true Ajax (as opposed to just Javascript) since all the move computations of the “computer” player is done on the server and the data is passed in JSON format back and forth.
The Javascript code is entirely unobtrusive and weights only about 30 kB (uncompressed). This code uses the excellent Mootools and JavaScript VectorGraphics libraries. On the server side, it’s built in Python using the Django framework.
Ajax Chinese Chess features the following: animation, drag and drop, fast loading (thanks to lightweight Javascript code mentioned above and small footprint Mootools), no plugin required and cross browsers/cross platforms.

- Ajax weakest link seen in JavaScript
"JavaScript is just very hard to secure," says Dr. Brian Chess, chief scientist at Fortify Software Inc., "and Ajax proponents are not acknowledging...
- CA's website hacked to point users to Chinese malware
According to reports, IT supplier CA's main website has been hacked, with visitors redirected to a Chinese site distributing...
- Report warns of critical flaw in Web 2.0, AJAX
Fortify Software warns in a new report that digital outlaws could use JavaScript to snatch data from Web 2.0 and AJAX-based applications if they're...
- SOA, Web services create software security challenges
Service-oriented architecture (SOA), Web services and Web 2.0 technologies increase the attack surface of applications, creating new challenges for...
- Report warns of critical flaw in Web 2.0, AJAX
Fortify Software warns in a new report that digital outlaws could use JavaScript to snatch data from Web 2.0 and AJAX-based applications if they're...
omg. that’s awesome! i have a feeling nothing will get done today. :(
Since there are already a couple of Mootools news add a Mootools category.
Nice demo btw.
Great work. Very responsive and fast. Everything on that screen is a DIV tag. If you have Mozilla or FIrefox, to see the individual DIV tags move, go to the game and then paste the following into the URL and hit return:
javascript:{var R=0, x1=.1, y1=.05, x2=.25, y2=.24, x3=1.6, y3=.24, x4=300, y4=200, x5=300, y5=200, I=document.getElementsByTagName(“div”), L=I.length; setInterval(function (){for(var i=0; i-L; i++){var S=I[ i ].style; S.position=’absolute’; S.left=(Math.sin(R*x1+i*x2+x3)*x4+x5)+”px”; S.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+”px”}R++},5); void(0)}
what the hell is the rules? :)
add me ,let me join it,I’m good at Chinese chess!!
good………..
Great ! but the computer seems not smart…
this is less and less popular, even in China! Too difficult.
Good stuff, but sometimes the computer seems to be hanged
great great game, Well done.
There’s very good programmer in there I wish he part of of my team