Text-based FPS node.js experiment made by Guilherme Sehn using socket.io.
Original game and map made by Eigen Lenk.
You can find the old version made in 2013 here on the old
branch.
yarn install
node index.js
There's an instance of the game running here.
The game map is generated from the plain text file map.txt
where:
#
represent the wallsN
,S
,W
,E
represent the respawn positions where the letters mean the player initial direction (north, south, west or east)
The engine automatically ignores empty lines at the start and end of the map, and also empty spaces after the last wall of the line. You can add a .
character to circumvent that if you really mean to have those empty spaces.
yarn test