stevehook / c4

Simple game application to experiment with CoffeeScript and Canvas

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

##Summary

This is a learning project for Rails 3.1, CoffeeScript, Jasmine and some HTML5/Canvas.

The application is a simple game. Players take it in turns to insert a coloured counter into a 7x7 grid. The object of the game is to get four counters in a line, vertically, horizontally or diagonally. The game ends when a player achieves this and that player is deemed the winner. If neither player gets four in a line by the time the grid gets filled up then the game is deemed to end in a draw.

For now its a single player game in which the user takes on the machine. It could be adapted for two-player gaming over the net.

##TODO List

  • Implement a more 'intelligent' player to take on the user.
  • User registration - so that you can view your previous games and relive past victories.
  • Multi-player games.

About

Simple game application to experiment with CoffeeScript and Canvas

License:MIT License


Languages

Language:Ruby 64.2%Language:CoffeeScript 20.8%Language:JavaScript 15.0%