summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-02-12Prevent piece capture on illegal moveStephen Enders
You could capture a piece on a move that was shorter/longer than a valid placement. For example: if you rolled a 2 and there was an enemy piece 1 space away. You could place your token in space 1, remove the enemy piece, but your move wouldn't count as valid and you'd snap back to your original position. By placing the catpure method after the "in_place" we ensure we only remove the enemy piece if its fully valid.
2022-02-12Create win sequenceStephen Enders
You can now win the game when you reach a score of 7 This is proxied simply by "does the player have any remaining pieces to play".
2021-01-30Mark logging doneStephen Enders
2021-01-30Hide the terminal in windows executionStephen Enders
2021-01-29Add verbose loggingStephen Enders
2021-01-29Add windows and linux build notesStephen Enders
Added some really rough build notes too
2021-01-29Add more tasksStephen Enders
2021-01-29Only allow moves based on position + rollStephen Enders
2021-01-29Expand tasksStephen Enders
2021-01-29Allow player to pass when no available movesStephen Enders
If the player has NO legal moves display the pass option
2021-01-29Don't clear all pieces upon captureStephen Enders
Bug setting assignment instead of comparison. Classic
2021-01-29Add icon to the windowStephen Enders
Icon was generated from the .png with ImageMagick's convert convert res/icon.png -define h:format=rgba -size 32x32 src/icon.h Then renaming the array exposed via the header
2021-01-28Reroll on star movesStephen Enders
2021-01-28Score on final positionStephen Enders
Will score and remove the piece upon moving into the final pos
2021-01-28Allow turn passing on 0 rollStephen Enders
2021-01-28Update tasksStephen Enders
2021-01-27Legal placement logic and capturingStephen Enders
Use board_t for board and prevent illegal placements. And allow for piece capture
2021-01-27Move board to use piece_tStephen Enders
Since we need to know what "position" a piece is placed in reuse the piece struct to track the board placement.
2021-01-23Move source files to src folderStephen Enders
We'll be making a few source files it'll be useful to have them organized at least somewhat from our non-src files
2021-01-23Add goal slots and task listStephen Enders
2021-01-21Rearrange spritesStephen Enders
2021-01-21Fix animation to be unsync'dStephen Enders
2021-01-21Ensure timers initialize not startedStephen Enders
2021-01-21Add sprite snappingStephen Enders
2021-01-21Add dice roll text and moving piecesStephen Enders
2021-01-21Add rolling animationStephen Enders
2021-01-20Create timer and use it to end the rolling phaseStephen Enders
This timer can be used to determine when to end rolling
2021-01-18Move helper.h to helper.hpp and reformatStephen Enders
2021-01-18Lock mouse clickStephen Enders
2021-01-18Update vectors of pointers to vectors of objectsStephen Enders
Having a vector<T> you can access the object stored and modify it if you ensure you get the reference i.e: T& o = vec[0];
2021-01-18Roll tweaksStephen Enders
2021-01-17Rolling updates + Score changeStephen Enders
Added state Added dice + roll button Updated blank tile graphic
2021-01-05Pass reference when passing objects!Stephen Enders
2021-01-05WIP - rendering pieces, cannot figure why textures not loadingStephen Enders
2021-01-05Initial commit - RenderingStephen Enders