GithubHelp home page GithubHelp logo

stevehook / c4 Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 308 KB

Simple game application to experiment with CoffeeScript and Canvas

License: MIT License

Ruby 64.18% CoffeeScript 20.84% JavaScript 14.98%

c4's Introduction

##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.

c4's People

Contributors

stevehook avatar

Watchers

 avatar James Cloos avatar Ulrich Link avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.