Commit Graph

14 Commits

Author SHA1 Message Date
Maciej Gomoła
dde5280c98 Improved colors 2024-03-11 11:11:18 +01:00
MaciejkaG
425fdc621a Minor changes
- Fixed leaving a lobby
- Improved CSS compatibility/clarity
- Optimised game finishing
2024-03-09 01:11:03 +01:00
MaciejkaG
e28db82339 Major changes
- Improved game end dialog

To-do:
- Remake timers
- Code optimisations
- Minor changes and improvements
2024-03-08 21:35:01 +01:00
MaciejkaG
a027313139 Major changes
- Multiple visual improvements to animation
- Added ship color dimming when they sunk
- Added game ending (looks and works primitvely for now)
- Added socket.io client error handling and alerts
- Finished and improved hit registration and client hit display

To-do:
- Fix timers (currently resetting the timer is global, which by mistake affects other independent lobbies, critical bug)
- Post-match stats
- Improve many mechanics
- Improve overall quality of the game
2024-03-08 19:18:53 +01:00
MaciejkaG
6021305f4a Major changes
- Hit registration works perfectly now
- Multiple color tweaks
- Enhanced timer animation

To-do:
- Detecting game end
- Multiple fixes
- Revamp round timers (they are global now, so resetting a timer resets it for all games)
2024-03-07 21:56:44 +01:00
MaciejkaG
8f3538417a Improved timer danger animation slightly 2024-03-05 21:37:11 +01:00
MaciejkaG
e221727c95 Major changes
- Fixed a bug causing removing ships to sometimes wrongly assign ship type 0 an additional ship.
- Players now can't switch boards in the preparation phase.
- Added low timer danger animation
- Added enemy board target and crosshair display formatting.
- Minor animation duration tweaks to make stuff look smoother without causing dizziness.
- Ship field X sign (still not used) now formats properly.
2024-03-05 21:34:16 +01:00
MaciejkaG
bb17dc47ba Major changes
- Fully working ship placement system
- Validating ship positions works too
- Client side ship data display works as well
- Changes to field colors to dark grey instead of light. This improves comfort of use and ensures proper contrast on lower quality displays and ease of use.
2024-03-03 16:55:38 +01:00
MaciejkaG
7c4801db2d Major update
- Improved frontend
- Server-client toasting framework
- Huge improvements to server side utils
- Working ship placement validation
2024-03-03 01:29:11 +01:00
MaciejkaG
dbb3ad0f1d Major changes
- Players can now successfully get into a game
- None of the game view features don't work yet
- Optimisation changes
- Improved file naming
- A game will automatically end if either of the players disconnect
- Players will start the game synchronously as the server will wait for both of them to connect
- Timer and game state updating works really well
2024-03-02 13:56:01 +01:00
MaciejkaG
302fe3d328 Major changes
- Functioning lobbies with redirection to the board view
- Partly working game mechanics
2024-03-01 22:24:30 +01:00
MaciejkaG
e85f36dfb6 added lobbies and more backend stuff 2024-01-08 16:53:12 +01:00
MaciejkaG
c2975bedc9 Multiple cool changes, added own SPA framework 2024-01-06 21:09:41 +01:00
MaciejkaG
c6275be106 A lot of changes including design, backend setup etc. 2024-01-05 23:35:11 +01:00