Commit Graph

18 Commits

Author SHA1 Message Date
MaciejkaG
04385552ac (not yet) working profile view 2024-03-19 22:33:14 +01:00
MaciejkaG
3f97b240aa Major changes
- Improved e-mail display on some of the major clients that do not handle flexboxes properly (Gmail)
- Added ratelimiting (with Redis store)
- Sessions are now stored in Redis
- Added some serious login problem display
- Improved match saving into the MySQL database
- Login system enhancements
- Minor design improvements
- Bug fixes
- User security improvements
2024-03-18 18:43:13 +01:00
Maciej Gomoła
dd963ec0a9 Almost working statistics and match saving 2024-03-18 12:41:50 +01:00
Maciej Gomoła
eff3ed1914 Working MySQL-based auth 2024-03-13 21:40:24 +01:00
MaciejkaG
0c4448404c Major changes
- Fixed a bug causing players to be able to shoot one field multiple times and lose turn
- Enhanced ship placing animation
2024-03-10 11:59:18 +01:00
MaciejkaG
44f13469cf Minor changes
- Fixed critical error (undefined value causing a crash when player leaves)
- Fixed hit registration ghosting problem causing fake ships to appear to the opponent
2024-03-09 22:12:36 +01:00
MaciejkaG
ec036c76d7 Timer overhaul
- Redis-based timers now work
- They should be independent from each other so resetting them shouldn't break parallel rounds.
2024-03-08 23:32:55 +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
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
0663b2c891 Minor changes
- Added .env config
- Improved board formatting when aiming
2024-03-04 20:34:45 +01:00
Maciej Gomoła
4629484a15 Fixed many bugs, placing ships now works 2024-03-04 12:23:47 +01:00
MaciejkaG
ee0b172067 Major changes
- Added ship removing, after changing their mind or missclicking, a player can rightclick a ship to remove it
- Multiple bug fixes and stability improvements
2024-03-03 22:59:52 +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
10dcb50aa1 Major changes
- Added advanced ship position validation and hit registration functions in the server side lib
-
2024-03-02 21:45:24 +01:00
MaciejkaG
72da84c3d6 Major changes
- Huge improvements in UI design and animations
- Improvements in code organisation (separated multiple functions into an util file)
- Multiple bug fixes and improvements to stability
- Client side events improved
2024-03-02 18:28:33 +01:00