A tower defense game against the machine where you program the behavior of your turrets in JavaScript.
CodeTowers is a web browser game that lets people practice their JavaScript skills against the machine. The game is very similar to classic Tower Defense games, but in this version the player must program the behavior of their turrets using JavaScript.
The target audience are both people still learning how to code, but alo experienced coders who want to pown our machine.
The entirety of the game is written in JavaScript using pentagine.js.
A simple snippet looks like this:
function(enemies, powerups) {
if (enemies.length) {
turn(calcAngle(enemies[0]));
shoot();
}
}
- Maria Margarida (https://pixels.camp/mariamargarida)
- David Gomes (https://pixels.camp/davidgomes)
- Miguel Duarte (https://pixels.camp/michel94)
- Pedro Caseiro (https://pixels.camp/pedrocaseiro)
https://github.com/pedrocaseiro/pixels-camp
(Still private, but we'll make it public before the pitch)
Not yet, definitely later though :)
In case you think there's more information about the project we should be aware of