Skip to content

ItzyBitzySpider/attention

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Attention

A fast-paced PVP game situated in a maze where you can barely see what's in front or behind you

Gameplay

Players are spawned around the map with 3 lives. Extra lives can be found by picking lives up around the maze. But beware, players are all equipped with an earthquake spell that causes all players within a 1 tiles radius to lose a life. Even the walls of the maze can't protect you... In fact, they are against you as the maze gets smaller and smaller...

Code

Frontend

  • Flutter Web
  • Flame Game Engine

Backend

  • Node.js with Socket.io
  • Maze generation using DFS recursive backtracking
  • Heart generation using chunking and Fisher-Yates shuffle

References

https://www.gabrielgambetta.com/client-server-game-architecture.html https://gafferongames.com/post/introduction_to_networked_physics https://technology.riotgames.com/news/peeking-valorants-netcode