Skip to content

Commit

Permalink
Major code refactoring and movement re-implemntation
Browse files Browse the repository at this point in the history
- Changed roadmap to better align with goals.
- Completely re-made the movement code to allow for snappier
  feeling movement and continous presses.
- Changed comments to have dots at the end.
- Started to work on removing unnecessary comments, but there are so
  much it will take a while.
- Organized the variable declaration to be more understandable.
- Redesigned the flag sprite because it was very bad.
- Updated images in readme to reflect flag changes (and changed to png
  due to different emulator used).
  • Loading branch information
roddyrap committed Dec 24, 2022
1 parent bf8980e commit 3594d78
Show file tree
Hide file tree
Showing 21 changed files with 462 additions and 453 deletions.
Binary file removed Images/GB/GameExpertEnd.bmp
Binary file not shown.
Binary file added Images/GB/GameExpertEnd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed Images/GB/GameMidEasy.bmp
Binary file not shown.
Binary file added Images/GB/GameMidEasy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed Images/GB/GameStartEasy.bmp
Binary file not shown.
Binary file added Images/GB/GameStartEasy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed Images/GB/SelectMenu.bmp
Binary file not shown.
Binary file added Images/GB/SelectMenu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed Images/GBC/GameExpertEnd.bmp
Binary file not shown.
Binary file added Images/GBC/GameExpertEnd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed Images/GBC/GameMidEasy.bmp
Binary file not shown.
Binary file added Images/GBC/GameMidEasy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed Images/GBC/GameStartEasy.bmp
Binary file not shown.
Binary file added Images/GBC/GameStartEasy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed Images/GBC/SelectMenu.bmp
Binary file not shown.
Binary file added Images/GBC/SelectMenu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
849 changes: 429 additions & 420 deletions Minesweeper.c

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,21 +46,21 @@ If you want to build the files yourself it's possible.

### GBC

![GameStartEasy](Images/GBC/GameStartEasy.bmp)
![GameMidEasy](Images/GBC/GameMidEasy.bmp)
![GameExpertEnd](Images/GBC/GameExpertEnd.bmp)
![GameExpertEnd](Images/GBC/SelectMenu.bmp)
![GameStartEasy](Images/GBC/GameStartEasy.png)
![GameMidEasy](Images/GBC/GameMidEasy.png)
![GameExpertEnd](Images/GBC/GameExpertEnd.png)
![GameExpertEnd](Images/GBC/SelectMenu.png)

### GB

![GameStartEasy](Images/GB/GameStartEasy.bmp)
![GameMidEasy](Images/GB/GameMidEasy.bmp)
![GameExpertEnd](Images/GB/GameExpertEnd.bmp)
![GameExpertEnd](Images/GB/SelectMenu.bmp)
![GameStartEasy](Images/GB/GameStartEasy.png)
![GameMidEasy](Images/GB/GameMidEasy.png)
![GameExpertEnd](Images/GB/GameExpertEnd.png)
![GameExpertEnd](Images/GB/SelectMenu.png)

## Bug reports and support

Feel free to submit all bug reports and code changes ideas and requests to the corresponding tabs in GitHub.
Feel free to submit all bug reports and code changes ideas and requests to the corresponding tabs in GitHub.

## License

Expand Down
28 changes: 14 additions & 14 deletions Tiles/mine_tile_sheet_data.c
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*
Generated By GameBoyPngConverter
Tiles data
Number of Tiles : 50
*/

const unsigned char mine_tile_sheet_data[] = {
/*
Generated By GameBoyPngConverter
Tiles data
Number of Tiles : 50
*/

const unsigned char mine_tile_sheet_data[] = {
0xFF,0xFF,0xFF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,0xC0,0xFF,0xFF,0xFF,0xFF,
0x07,0xFB,0xCF,0x33,0xFF,0x03,0xFF,0x03,0xFF,0x03,0xFF,0x03,0xFF,0xFF,0xFF,0xFF,
0xFF,0xFF,0xFF,0xFF,0xC0,0xC0,0xD2,0xC8,0xC8,0xD0,0xC5,0xC2,0xD3,0xC4,0xC7,0xC0,
0xFF,0xFF,0xFF,0xFF,0x03,0x03,0x4B,0x13,0x13,0x0B,0x43,0xA3,0xEB,0x03,0xC3,0x23,
0xC3,0xC4,0xD7,0xC0,0xC2,0xC5,0xC8,0xD0,0xD2,0xC8,0xC0,0xC0,0xFF,0xFF,0xFF,0xFF,
0xE3,0x03,0xCB,0x23,0xA3,0x43,0x13,0x0B,0x4B,0x13,0x03,0x03,0xFF,0xFF,0xFF,0xFF


};
20 changes: 10 additions & 10 deletions Tiles/mine_tile_sheet_map.c
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/*
Generated By GameBoyPngConverter
Tiles map
TileMap Size : 2 x 28
*/

const unsigned char mine_tile_sheet_map[] = {
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,0x0C,0x0D,0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x0C,0x1E,0x06,0x1F,0x20,0x21,0x1C,0x1D,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,0x30,0x31
/*
Generated By GameBoyPngConverter
Tiles map
TileMap Size : 2 x 28
*/

const unsigned char mine_tile_sheet_map[] = {
0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,0x0C,0x0D,0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18,0x19,0x1A,0x1B,0x1C,0x1D,0x0C,0x1E,0x06,0x1F,0x20,0x21,0x1C,0x1D,0x22,0x23,0x24,0x25,0x26,0x27,0x28,0x29,0x2A,0x2B,0x2C,0x2D,0x2E,0x2F,0x30,0x31
};
Binary file modified TilesPNG/mine_tile_sheet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3594d78

Please sign in to comment.