Commit graph

  • 30042a1152
    Add common module stuff dev Oliver Akins 2022-12-25 17:41:07 -06:00
  • ee9d9ca6ed
    Add python script to generate a hex SVG points Oliver Akins 2022-12-25 17:41:03 -06:00
  • 4991f0eac8
    backup 2022-12-25 Oliver Akins 2022-12-25 17:40:13 -06:00
  • 720170f867
    Add FuelCard to the imports Oliver Akins 2022-07-30 17:46:11 -06:00
  • 0045cd4184
    Add a state that allows changing the controls bar Oliver Akins 2022-07-30 17:45:38 -06:00
  • 4c318a9aeb
    Add the player order and e-stop panels Oliver Akins 2022-07-30 17:44:58 -06:00
  • 4601ed480c
    Allow half-ing the card for the order-preview Oliver Akins 2022-07-30 17:44:17 -06:00
  • e4dfc8aa3f
    Add the fuel card to the PlayerData Oliver Akins 2022-07-30 17:43:49 -06:00
  • 69aa91e632
    Wrap the space shuttle icon in a div Oliver Akins 2022-07-30 17:43:33 -06:00
  • 60215ec328
    Allow rendering a notice as well as a preview board Oliver Akins 2022-07-25 23:56:03 -06:00
  • 296aa7f298
    Modify the board to accept the position array as a prop instead of accessing the store directly. Oliver Akins 2022-07-25 23:55:30 -06:00
  • dd3662560d
    Bubble or stop hover events depending on if the card button is visible. Oliver Akins 2022-07-25 23:54:59 -06:00
  • b44417084c
    Emit events when the user hovers over the card. Oliver Akins 2022-07-25 23:54:11 -06:00
  • 8ffffd8834
    Add a writable store the player's hand Oliver Akins 2022-07-25 21:38:42 -06:00
  • bd70c2caac
    Add the player hand to the movement view Oliver Akins 2022-07-25 21:38:23 -06:00
  • a36d85ae74
    Correct the code to work with the new data structure Oliver Akins 2022-07-25 21:38:05 -06:00
  • 6e51bf7656
    Add a component for a player's hand Oliver Akins 2022-07-25 21:37:31 -06:00
  • a6788232e7
    Make a card component Oliver Akins 2022-07-25 21:37:02 -06:00
  • 71fed3f107
    Moar particles Oliver Akins 2022-07-25 21:36:42 -06:00
  • 23a80ccc28
    Add a circle SVG for a11y reasons Oliver Akins 2022-07-25 21:36:32 -06:00
  • ab3e4eb0ff
    Fix the gosh darned particles Oliver Akins 2022-07-23 19:29:26 -06:00
  • 33d304ef5b
    Add a ID property to PlayerData Oliver Akins 2022-07-22 19:45:18 -06:00
  • 5b2072b473
    Add the ability to change the buttons text colour. Oliver Akins 2022-07-22 19:45:04 -06:00
  • 1b011d4a3b
    Tweak animation lengths slightly Oliver Akins 2022-07-22 19:44:43 -06:00
  • 8d5a02f9a2
    Correct the conditionals to display the ships Oliver Akins 2022-07-22 18:47:39 -06:00
  • 2eba630e39
    Add a default value to the players store Oliver Akins 2022-07-20 22:56:27 -06:00
  • b26911184f
    Properly subscribe to the board store, and index the players data for proper information Oliver Akins 2022-07-20 22:24:04 -06:00
  • 885bebee71
    Add super basic setup script Oliver Akins 2022-07-20 22:14:56 -06:00
  • 5c47a967dd
    Have make build the module once before watching it Oliver Akins 2022-07-20 22:13:49 -06:00
  • cfa5d7aaad
    Remove p from the production run make recipe Oliver Akins 2022-07-20 22:13:05 -06:00
  • e757168351
    Replace nether portal warp gate with custom icon Oliver Akins 2022-07-20 22:12:42 -06:00
  • 8684f9d6f6
    Create custom warpgate container for Cyber'ss icon Oliver Akins 2022-07-20 22:12:11 -06:00
  • 0a5f83704d
    Add more exclude directories Oliver Akins 2022-07-20 21:25:10 -06:00
  • f179188618
    Update packages because why not? Oliver Akins 2022-07-20 21:24:48 -06:00
  • 5f0f101361
    Update the comment for the ships data Oliver Akins 2022-07-20 21:24:09 -06:00
  • b883c00247
    Remove message properties that were causing problems Oliver Akins 2022-07-20 21:23:38 -06:00
  • 13711e5986
    Remove use of the log since it doesn't exist yet. Oliver Akins 2022-07-20 21:21:54 -06:00
  • 25aeb8bc9e
    Remove the rotation from the sailboat to prevent weird pointing direction Oliver Akins 2022-07-20 21:16:03 -06:00
  • a8d9a363cb
    Update the type of the players store Oliver Akins 2022-07-20 21:14:02 -06:00
  • 9508a7e66a
    Move the board into a writable store Oliver Akins 2022-07-20 21:13:41 -06:00
  • 4ca083e570
    Make the code only compute the proper main area index one time Oliver Akins 2022-07-20 21:12:20 -06:00
  • d4bc98ff77
    Add the class to style the side boxes with Oliver Akins 2022-07-20 21:11:46 -06:00
  • 12531fce67
    Update the CSS Oliver Akins 2022-07-20 21:09:17 -06:00
  • 628ce29dad
    Upgrade packages so I can use @const Oliver Akins 2022-07-20 21:07:40 -06:00
  • 599a4140a3
    Add a basic movement phase screen with a board. Oliver Akins 2022-07-19 22:54:49 -06:00
  • 378e4315ba
    Tweak the hexagon component to use the SVG background image Oliver Akins 2022-07-19 22:54:13 -06:00
  • 6f7477eecf
    Move the onMount function call Oliver Akins 2022-07-19 22:53:49 -06:00
  • 4ab85924a9
    Add a custom hexagon SVG Oliver Akins 2022-07-19 22:53:20 -06:00
  • 57135c4fad
    Optimize the SVGs Oliver Akins 2022-07-19 22:53:06 -06:00
  • dc510e00b0
    Provide a fix for the failing test-case Oliver Akins 2022-06-29 22:22:01 -06:00
  • 32119625b7
    Add test cases for when the closest ships are on the edge Oliver Akins 2022-06-29 22:21:42 -06:00
  • 08df4187fb
    Remove commented out definition that isn't used Oliver Akins 2022-06-29 00:01:24 -06:00
  • 5fbbf09144
    Add a GamePiece type Oliver Akins 2022-06-29 00:00:21 -06:00
  • be50ff62d9
    Fix the problems the tests found Oliver Akins 2022-06-28 23:59:56 -06:00
  • af5e74d4af
    Add tests for the tractorBeam function Oliver Akins 2022-06-28 23:59:40 -06:00
  • a7344e36e1
    Begin implementing the functions that actually modify the game board Oliver Akins 2022-06-28 00:44:44 -06:00
  • 54ffc0a0f4
    Add a Board type for easier type consistency Oliver Akins 2022-06-28 00:43:52 -06:00
  • a4aa70f992
    Add tests for the Player object Oliver Akins 2022-06-23 14:05:34 -06:00
  • abba594522
    Add a host flag Oliver Akins 2022-06-23 13:46:45 -06:00
  • 1f6c72ee8a
    Add tests for the Deck object Oliver Akins 2022-06-23 11:41:01 -06:00
  • 040a7ae804
    Add a bunch of dependencies for data validation and testing Oliver Akins 2022-06-23 11:40:46 -06:00
  • 448b089bf9
    Create a makefile for ease of use Oliver Akins 2022-06-23 11:40:25 -06:00
  • be25b95789
    Add data validation to the config Oliver Akins 2022-06-23 11:40:09 -06:00
  • 4506b97101
    Prevent cards that aren't in the unknown from being discarded Oliver Akins 2022-06-23 11:39:39 -06:00
  • 1aa3e2b8ac
    Strip Internal API definitions Oliver Akins 2022-06-23 11:39:08 -06:00
  • 449a4b25d9
    Don't compile the .spec.ts files Oliver Akins 2022-06-23 11:38:47 -06:00
  • 726067b1e5
    Add the test and watch* rules to the PHONY list Oliver Akins 2022-06-22 00:40:10 -06:00
  • 28a5c81241
    Adjust the echo used in the test command Oliver Akins 2022-06-22 00:39:27 -06:00
  • 699c07f59e
    Tweak it from == 1 to <= 1 just in case Oliver Akins 2022-06-22 00:38:23 -06:00
  • 7b97beaeb1
    Rename the function in the test description Oliver Akins 2022-06-22 00:38:08 -06:00
  • 670729c892
    Apply a fix to the determineDirection function that makes it conform to the rule specification Oliver Akins 2022-06-22 00:35:03 -06:00
  • 3b78f224df
    Add tests for the movementDirection function Oliver Akins 2022-06-22 00:34:13 -06:00
  • 4feafba99b
    Add the stripInternal option Oliver Akins 2022-06-19 12:58:27 -06:00
  • 7af5cf0ce8
    Fix bug with the countShips function Oliver Akins 2022-06-19 12:42:24 -06:00
  • 0f76e83fac
    Add test make recipe Oliver Akins 2022-06-19 12:41:57 -06:00
  • 1167c10707
    Allow TS to import countShips internally Oliver Akins 2022-06-19 12:41:37 -06:00
  • 762e2bdb1b
    Add a tests for countShips Oliver Akins 2022-06-19 12:41:02 -06:00
  • 18f58a6221
    Rename the package template to the normal package file and install the required dev deps for testing purposes Oliver Akins 2022-06-19 12:40:29 -06:00
  • ed715b14e4
    Make it so that the game link gets added to the browser URL when joining a game Oliver Akins 2022-03-15 23:25:56 -06:00
  • 7d39b41b6d
    Add functionality to the Copy Game Link button Oliver Akins 2022-03-15 23:25:27 -06:00
  • 05a5bfc3af
    Don't echo the mkdir command Oliver Akins 2022-03-15 23:10:00 -06:00
  • a7a7560201
    Add watch rules to the makefile Oliver Akins 2022-03-15 23:09:39 -06:00
  • b0e2a9e6d4
    Instead of using onDestroy, return a function from onMount Oliver Akins 2022-03-15 22:38:09 -06:00
  • 018ae4fe06
    Add a no-op button to copy the game link to the user's clipboard Oliver Akins 2022-03-15 01:41:05 -06:00
  • 3f96b97194
    Add some sanity comments and a full lobby check Oliver Akins 2022-03-15 01:37:59 -06:00
  • c340755ba2
    Make the JoinLobby modal nicer Oliver Akins 2022-03-15 01:34:09 -06:00
  • bcc0664342
    Move lobby creation/hosting into it's own modal Oliver Akins 2022-03-15 01:07:02 -06:00
  • 2dd456897f
    Move the error style to be global Oliver Akins 2022-03-15 00:21:51 -06:00
  • 31cd9a1558
    Default the store values so we don't get undefined appearing in the text entries Oliver Akins 2022-03-15 00:04:43 -06:00
  • ffc759e267
    Tweak import statement Oliver Akins 2022-03-13 20:14:31 -06:00
  • 9708be3f1e
    Tweak imports Oliver Akins 2022-03-13 20:14:07 -06:00
  • 1b9f3d780e
    Add code to handle the lobby info responses Oliver Akins 2022-03-13 18:32:15 -06:00
  • 2c4c7c38b0
    Add code to handle the join lobby response Oliver Akins 2022-03-13 18:31:58 -06:00
  • be3a1c97c9
    Allow possibly not finding the game object in the DB Oliver Akins 2022-03-13 18:31:44 -06:00
  • c5eb73ef4b
    Add the game's status to the object Oliver Akins 2022-03-13 18:31:25 -06:00
  • 4c9d0b272c
    Begin listening for lobby join events Oliver Akins 2022-03-13 18:31:14 -06:00
  • 88b07fdf1d
    Implement a primitive join lobby method Oliver Akins 2022-03-13 18:31:02 -06:00
  • 5da30d572f
    Add a Forbidden status Oliver Akins 2022-03-13 18:30:46 -06:00
  • af37e3b5f5
    Make the colour appear correctly even when it isn't our slot Oliver Akins 2022-03-13 18:30:33 -06:00
  • 4821f7a971
    Indicate the user as the host when they create the lobby Oliver Akins 2022-03-13 01:58:03 -06:00