Commit Graph

21 Commits

Author SHA1 Message Date
522ee81626 Minor update
- Smart difficulty mode finished

To-do:
- Overkill difficulty mode
2024-04-16 20:22:26 +02:00
5c937cb9b8 Major changes
- Improved Smart AI
- Minor design improvements
2024-04-15 20:49:19 +02:00
a212161733 Major changes
- Improved PWA support on mobile.
- Added Vs. AI game menu.
- Added the first AI algorithm.
- Vs. AI is now available with every option leading to simple bot
- Fixed a bug where placing ships in certain rotation around the boundaries of the board would wrongly colour them when sunk.
- Improved code clarity and comments
- Added an option in the settings to change your nickname
- Added version display in the settings
- Slightly improved box scaling and layout
- Made multiple improvements to the PWA support
- Added multiple minor features
- Brought back full SPA URL functionality, now if you copy a URL to specific view/page in the menu and go into it, you will actually arrive at that page if it's not restricted.
2024-04-14 19:17:20 +02:00
MaciejkaG
1bd84bee09 Major bug fixes
- Fixed ready up bug
- Fixed a bug that made shooting impossible
2024-04-07 00:21:09 +02:00
MaciejkaG
b956120312 Major update
- UI/UX improvements
- Multiple bug fixes and improvements
2024-04-06 21:18:38 +02:00
MaciejkaG
acdbad41cd Major changes
- Minor improvements
- Added random ship depletion. When prep phase ends, remaining ships are automatically placed in random valid positions
2024-04-06 00:05:11 +02:00
Maciej Gomoła
dd963ec0a9 Almost working statistics and match saving 2024-03-18 12:41:50 +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