Directions: The objective of 3sacrowd is to place an alien tile in every empty square in order to fill the entire board. But be careful! You must avoid having three adjacent tiles of the same color in any direction-- horizontally, vertically, or diagonally. Aliens need their space!
When all the empty tiles have been occupied, you win!
Some tiles will be fixed and you will not be allowed to place an alien at that location. However, you may use these to your advantage. Because sometimes creativity needs constraints. ;-)
The game is entirely developed with Vanilla JS. RequireJs is used for modularization. The purpose of this project is to learn so anybody is welcome. Are you looking for an easy javascript project to make your first contribution on GitHub? This may be the one!
- Clone/Download the code from this repository.
- Install the pre-requisites:
Runnpm install
in your terminal. - Make any changes as you feel necessary.
- To run all tests, run
npm run allTests
in your terminal. To run a specific test, runnpm run [testName]
in your terminal. For example to run the test located in test/infoTest.js runnpm run infoTest
- Any test added, should have a test script added to the
package.json
file in the root directory, using the same naming conventions,node /test/[testName.js]
.
Original idea by Erich Friedman. Each puzzle has a unique solution. All puzzles © Erich Friedman, 2010.