Skip to content
forked from todeale/AtiGame

An African traditional game of strategy brought to the computer :D .

License

Notifications You must be signed in to change notification settings

realComlan/AtiGame

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AtiGame: An African 3D Morpion game.

This small javascript software is intended to bring the famous Ati game to the computer. Ati is a traditional game in Togo and other parts of West Africa and which rules are almost the same as the Western Morpion game.

The code is deployed here: https://ati-ipb1.onrender.com. Please have fun!

How to play?

Once the page is loaded, each player can start placing their own units. When the red ball is spinning, it is the red player's turn to place his unit and vice versa. To place one's unit, you just need to click on the intersection points or corners of the white squares on the board. Each player has ten units which they place on the board à tour de rôle. Once all units are placed on the board the player which ball is spinning can touch one of her units and then click on a free position (intersections or corners of the white squares on the board). Once three players of the same team are aligned the team has to click on a unit of the adversary in order to make it disappear.

The game is over when one team has less than three unit (just like in a standard Morpion game).

Project file structure

  • AtiGame/public_html/assets/js/GameLib.js: This is the file containing most of the game logic
  • AtiGame/public_html/assets/js/Game.js: This file is just the facade. It makes use of the objects declared in ./GameLib.js. It is the file which contains the onLoad() method that the index.html wil call

About

An African traditional game of strategy brought to the computer :D .

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.7%
  • Other 0.3%