Commit Graph

38 Commits

Author SHA1 Message Date
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
fc01f72fa4 Finishing touches to the new login 2024-04-11 19:10:45 +02:00
MaciejkaG
99d26fffdc E-mail localisation 2024-04-07 21:14:05 +02:00
MaciejkaG
f6f5af9758 Fixed the match history bug
Fixed a match history bug that was reversing match results
2024-04-07 00:56:13 +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
fd9c4a8ea7 Major stats fixes 2024-04-06 22:30:27 +02:00
MaciejkaG
7e3db33ae8 Major bug fixes 2024-04-06 21:38:46 +02:00
MaciejkaG
b956120312 Major update
- UI/UX improvements
- Multiple bug fixes and improvements
2024-04-06 21:18:38 +02:00
MaciejkaG
38ae0c7796 Major changes
- Multiple translation improvements
- Added language switch in settings
- Minor fixes and improvements

- Still need to fix error messages (they are hardcoded in polish)
2024-04-06 01:48:49 +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
282c713ead
Update auth.js 2024-04-05 13:41:18 +02:00
MaciejkaG
b1a822f39e Major changes
- Partially added removing ships on mobile (still doesn't work at all though)
- Added client-side logging
- Fixed a crash caused by the MySQL connector
- Multiple bug fixes
2024-04-04 16:08:27 +02:00
MaciejkaG
c0ae701507 Mobile version improvements
- Most of the game should work on mobile now
- It's not yet perfect and needs finishes/improvements
2024-03-31 15:08:31 +02:00
MaciejkaG
e7b0470653 Unfinished settings + improvements 2024-03-28 16:47:48 +01:00
MaciejkaG
9d0c60419e Working localisation (big spaghetti) 2024-03-27 15:51:33 +01:00
Maciej Gomoła
2e3a46b7e1 partly finished translation (not yet implemented) 2024-03-26 12:41:28 +01:00
Maciej Gomoła
d662414b19 Menu responsiveness, to-do board 2024-03-25 08:39:06 +01:00
MaciejkaG
fb8555f736 Profile page improvements 2024-03-24 19:51:49 +01:00
Maciej Gomoła
e0f7137f16 Fixed logging in/creating account 2024-03-24 15:50:39 +01:00
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