kestasjk / webDiplomacy

Play Diplomacy online
http://webdiplomacy.net/
GNU Affero General Public License v3.0
183 stars 114 forks source link

Test Environment Build 05-05-2022 #775

Closed bryancodazen closed 2 years ago

bryancodazen commented 2 years ago

This PR contains an updated test environment build as well as the following:

  1. Builds phase allows users to build units (destroy is still in progress)
  2. Saint petersburg in builds phase allows users to build units in the correct unit slots
  3. Create a get messages API route to fetch user messages based on press type and authentication
  4. Updated draw arrow logic to enable drawing from unit -> territory, unit -> unit, and unit -> arrow
  5. Added support hold and support move arrow types
  6. Updated arrow colors to be symbolize specific moves, yellow for support, gray for implied/incomplete, etc.
  7. Partial redux action for fetching messages from the get messages API
  8. Support move is functional for own users units (foreign unit support move is still in progress)
  9. support hold is functional for own/foreign units
  10. Support move logic draws gray arrows on incomplete/mismatching support move
  11. Partially working retreats phase disbands
bryancodazen commented 2 years ago

Hey @kestasjk! New PR ready to be merged. Please let me know if you have any questions.