Commit Graph

1667 Commits

Author SHA1 Message Date
SpudGunMan 201591d469 fix dopewar replay bug
reference https://github.com/SpudGunMan/meshing-around/issues/274 thanks MJTheis

Co-Authored-By: MJTheis <232630404+mjtheis@users.noreply.github.com>
2025-12-21 18:27:26 -08:00
SpudGunMan ea3ed46e86 Update locationdata.py 2025-11-18 13:08:52 -08:00
SpudGunMan d78d6acd1e Update locationdata.py 2025-11-17 14:33:55 -08:00
SpudGunMan e9b483f4e8 Update locationdata.py 2025-11-16 19:30:30 -08:00
SpudGunMan 94660e7993 Update space.py 2025-11-15 06:27:17 -08:00
SpudGunMan 84a1a163d3 Update system.py 2025-11-12 19:34:46 -08:00
SpudGunMan be38588292 Update system.py 2025-11-12 10:17:32 -08:00
SpudGunMan 69df48957e clear Logs 2025-11-11 23:54:17 -08:00
SpudGunMan e29573ebc0 Update system.py 2025-11-11 22:24:52 -08:00
SpudGunMan 13b9b75f86 Update system.py 2025-11-11 22:24:44 -08:00
SpudGunMan 0bfe908391 Update system.py 2025-11-11 22:21:14 -08:00
SpudGunMan 5baee422c2 Update system.py 2025-11-11 22:18:22 -08:00
SpudGunMan 38ff05fd40 logs 2025-11-11 21:22:28 -08:00
SpudGunMan e1def5422a cleanup 2025-11-11 21:13:41 -08:00
SpudGunMan 93031010cb enhance output data for solar report 2025-11-11 21:05:58 -08:00
SpudGunMan 21e614ab8e enhance solar with NOAA radio weather 2025-11-11 19:39:04 -08:00
SpudGunMan 678fde7b2c logs 2025-11-11 16:45:29 -08:00
SpudGunMan fd114301f6 logs 2025-11-11 16:43:52 -08:00
SpudGunMan 1778cb6feb Update system.py 2025-11-11 16:38:13 -08:00
SpudGunMan fc7ca37184 Update system.py 2025-11-11 16:35:16 -08:00
SpudGunMan fe2110ca2b Update system.py 2025-11-11 16:30:56 -08:00
SpudGunMan 179113e83a Update system.py 2025-11-11 14:46:51 -08:00
SpudGunMan 79348be644 debug 2025-11-11 14:12:55 -08:00
SpudGunMan a7060bc516 cleanup 2025-11-11 13:23:55 -08:00
SpudGunMan 17d92dc78d Update system.py 2025-11-11 13:02:03 -08:00
SpudGunMan e72b3c191e Update system.py 2025-11-09 16:43:22 -08:00
SpudGunMan 3774b8407b refactor with new API 2025-11-09 16:29:36 -08:00
SpudGunMan 232bf98efd bug highfly
Highfly: error: unsupported operand type(s) for -: 'str' and 'int'
2025-11-09 15:17:02 -08:00
SpudGunMan 3cce938334 ChannelAwarness 2025-11-09 15:00:21 -08:00
SpudGunMan ae19c5b83f Update battleship_vid.py 2025-11-09 13:18:17 -08:00
SpudGunMan 862347cbec refactor leader fly and speed 2025-11-08 11:37:01 -08:00
SpudGunMan 9c412b8328 leaderboard airspeed 2025-11-08 11:24:00 -08:00
SpudGunMan c3fcacd64b Update locationdata.py 2025-11-08 11:08:16 -08:00
SpudGunMan 68b5de2950 one is a lonely number 2025-11-08 11:04:16 -08:00
SpudGunMan 04560b0589 doc 2025-11-06 15:18:46 -08:00
SpudGunMan 2d4f81e662 Revert "Update locationdata.py"
This reverts commit ec9fbc9bd1.
2025-11-06 13:34:39 -08:00
SpudGunMan ec9fbc9bd1 Update locationdata.py 2025-11-06 12:16:06 -08:00
SpudGunMan 3273e57f0b Update README.md 2025-11-05 18:48:52 -08:00
SpudGunMan 7cc70dd555 Update locationdata.py 2025-11-05 13:25:43 -08:00
SpudGunMan edb3208e2c maintains same as before only special changed 2025-11-05 13:21:22 -08:00
SpudGunMan 60a6244c69 Update locationdata.py 2025-11-05 13:18:50 -08:00
SpudGunMan f06a27957f enhance EAS with more data 2025-11-05 13:08:29 -08:00
SpudGunMan 384f5a62f3 badmaths 2025-11-05 10:50:47 -08:00
SpudGunMan dcaf9d7fb5 Enhance Battleship
Summary
This PR introduces several enhancements to the Battleship game module, focusing on player engagement, game feedback, and strategic depth. The changes include:

Ping Command:
Players can now use the hidden "p" command during their turn to scan a 3x3 area around their last move (or the board center if no moves have been made). The ping provides a hint about the presence of unsunk ships in the area, returning messages like "something lurking nearby" or "targets in the area!". To add suspense and realism, there is a 30% chance the ping will be disrupted, returning "Ping disrupted! No reading. Try again later." This feature does not consume a turn or affect game state, acting as a strategic hint tool.

Game End Statistics:
At the end of each game, players are now informed of the total number of shots fired and the elapsed time to victory. This provides a sense of accomplishment and encourages replayability as players try to improve their efficiency.

Ammo Commentary:
Every 25 and 50 shots, the game displays a humorous comment (e.g., "🥔25 fired!", "🥵50 rounds!") to keep players entertained and aware of their shot count.

How Gameplay Is Improved
Strategic Depth:
The ping feature gives players a way to gather information and adjust their tactics, making gameplay more interactive and less reliant on random guessing.

Player Engagement:
Humorous ammo comments and end-of-game statistics add personality and feedback, making the experience more memorable and fun.

Replay Value:
By surfacing stats like shots fired and time taken, players are motivated to replay and beat their previous records.

Fairness and Clarity:
The ping command does not advance the turn or affect the game state, ensuring fairness and preventing accidental misuse.

Testing & Compatibility
All new features are integrated with both AI and P2P modes.
Existing gameplay logic and win conditions remain unchanged.
The ping command is robust against edge cases (e.g., no moves made, board edges).
In summary:
This PR makes Battleship more engaging, strategic, and fun, while preserving the integrity of the original game mechanics.

Co-Authored-By: NillRudd <102033730+nillrudd@users.noreply.github.com>
2025-11-04 11:10:38 -08:00
SpudGunMan 99faf72408 Update battleship.py 2025-11-04 04:40:34 -08:00
SpudGunMan a5a7e19ddc Update battleship.py 2025-11-04 04:23:08 -08:00
SpudGunMan 912617dc34 Update battleship.py 2025-11-04 04:21:54 -08:00
SpudGunMan ca6d0cce4e enhance 2025-11-04 04:15:16 -08:00
SpudGunMan 43051076ba Update battleship.py 2025-11-03 22:28:42 -08:00
SpudGunMan 83091e6100 Update battleship.py 2025-11-03 22:27:54 -08:00