Skip to content

Commit

Permalink
Add: LICENSE and release 1.2 version
Browse files Browse the repository at this point in the history
  • Loading branch information
dangtiendung1201 committed May 2, 2023
1 parent 3962435 commit bc1a99f
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 21 deletions.
24 changes: 24 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.

In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

For more information, please refer to <https://unlicense.org>
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,29 @@ This is my own game project using `C`, `C++` and `SDL2 libraries` at University

## Idea

From mini-game called Comfy Cakes in Purple Place ([Info](https://en.wikipedia.org/wiki/Purble_Place "Infomation about the game"), [Demo](https://www.youtube.com/watch?v=TRxOvRQpPmg&pp=ygUXcHVyYmxlIHBsYWNlIHdpbmRvd3MgNyA%3D "Demo video")) included with Windows 7 operating systems, I create a new game with the same logic[^fn1]. Instead of a "conveyor belt" in the original game, I use a "deque" to manage "burger ingredients". "Requests" are shown as "customers", ... and many changes.
From mini-game called Comfy Cakes in Purple Place ([Info](https://en.wikipedia.org/wiki/Purble_Place "Infomation about the game"), [Demo](https://www.youtube.com/watch?v=TRxOvRQpPmg&pp=ygUXcHVyYmxlIHBsYWNlIHdpbmRvd3MgNyA%3D "Demo video")) included with Windows 7 operating systems, I create a new game with the same logic[^fn1]. Instead of a "conveyor belt" in the original game, I use a "deque" to manage "burger ingredients". "Requests" are shown as "customers", ... and many changes. Threfore, my game is just about 10% similar to the original game.

I chose this game because I want to challenge myself with a new game that requires a lot of thinking in design and implement. I also want to create a game that is not too simple and not too complicated, so that I can play it in my free time.

## Milestone

- [x] **08/03/2023:** Have ideas about the game.
- [x] **12/03/2023:** Initialize all SDL libraries + Implement and refactor some SDL utilities.
- [x] **14/03/2023:** Finish game menu.
- [x] **15/03/2023:** Add some features in menu.
- [x] **16/03/2023:** Show game background
- [x] **16/03/2023:** Show game background.
- [x] **17/03/2023:** Make first game character move.
- [x] **22/03/2023:** Make more game characters
- [x] **25/03/2023:** Render more characters
- [x] **22/03/2023:** Make more game characters.
- [x] **25/03/2023:** Render more characters.
- [x] **06/04/2023:** Implement burger ingredients.
- [x] **06/04/2023:** Implement burger ingredients.
- [x] **08/04/2023:** Release [1.0 version](https://github.com/dangtiendung1201/Cataurant/releases/tag/v1.0).
- [x] **17/04/2023:** Realease [1.1 version](https://github.com/dangtiendung1201/Cataurant/releases/tag/v1.1).
- [x] **02/05/2023:** Release [1.2 version](https://github.com/dangtiendung1201/Cataurant/releases/tag/v1.2).

- [ ] **Ongoing:** Add Japanese, Russian and Vietnamse language using Unicode.
- [ ] **Future:** Play via LAN using SDL2_net library.
- [ ] **Future:** Using my own assets and change the LICENSE.

## Prerequisites

Expand Down
2 changes: 1 addition & 1 deletion src/const.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ extern int highestScore;
// WINDOWS VARIABLES
// Screen size
const char WINDOW_TITLE[] = "Cataurant";
const char VERSION_INFO[] = "VERSION: 1.1";
const char VERSION_INFO[] = "VERSION: 1.2";

const int SCREEN_WIDTH = 1366;
const int SCREEN_HEIGHT = 768;
Expand Down
1 change: 0 additions & 1 deletion src/customer.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#define _CUSTOMER_H

// My libraries
#include "const.h"
#include "ingredients.h"
#include "ultils.h"

Expand Down
1 change: 0 additions & 1 deletion src/dishes.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
// My libraries
#include "ingredients.h"
#include "customer.h"
#include "const.h"

class Dishes
{
Expand Down
11 changes: 0 additions & 11 deletions src/game.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,10 @@
#include <SDL2/SDL_mixer.h>
#endif
// My libraries
#include "button.h"
#include "const.h"
#include "texture.h"
#include "seller.h"
#include "customer.h"
#include "dishes.h"
#include "hungrycat.h"
#include "ultils.h"

// void manageState(SDL_Renderer *renderer);

// class Seller;
// class Customer;
// class Dish;
// class Hungrycat;

class Game
{
Expand Down
1 change: 0 additions & 1 deletion src/hungrycat.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

// My libraries
#include "ingredients.h"
#include "const.h"
#include "ultils.h"

struct Hungrycat
Expand Down
1 change: 0 additions & 1 deletion src/ingredients.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

// My libraries
#include "const.h"
#include "texture.h"
#include "res.h"

class Ingredients
Expand Down
1 change: 0 additions & 1 deletion src/seller.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include <SDL2/SDL_image.h>
#endif
// My libraries
#include "const.h"
#include "ingredients.h"
#include "ultils.h"

Expand Down

0 comments on commit bc1a99f

Please sign in to comment.