Помимо этой работы в качестве курсовой, учавствовал в создании https://github.com/kreslavskiy/graphs и в созданных ишьюс в https://github.com/MytsV/pixel-toons-editor рефакторил код
Control:
WSAD - move, Enter - shoot;
Written in pure javascript, tanks is an endless game with a scoring system and vehicle selection. In the game, you can choose one of five types of equipment, each of which has its own advantages and disadvantages. This game has an interesting feature: at first glance, it seems very difficult, but if you understand the weakness of the enemies (which I hinted at above), then the game will become very simple
In each round, you choose a technique, after which 4 enemies will spawn along the edges of the screen, which you must destroy. After the destruction of all enemies or after the destruction of the player, the game will offer to choose a new technique, taking into account the number of available points.
Enemies move in a spiral along the edge of the screen until they are in line with it. When turning, they will open fire if they have managed to reload the cannon by that time. They will collide with the player, turning at him when they are level and shooting. Remember that enemies can damage you not only with bullets, but also with a collision.
The game looks good on both PC and smartphones and tablets, but I didn't add phone controls to the game as it would be too hard to play at such a fast pace.
Added music sounds and voice acting for some events to the game.
It is possible to add power-ups such as a shield or acceleration for the player to the game store, the sound folder even has everything you need for this, but I'm still thinking about whether this should be done.
For those who will use the game code:
All characteristics are placed in the characteristics.js file, you can always change the pace of the game or its complexity,
In the code, everything is broken down into functions and classes so that you can quite easily change the game or add new mechanics.