mirror of
https://github.com/Ratstail91/Hearts.git
synced 2025-11-28 18:14:30 +11:00
Added the screenshot
This commit is contained in:
BIN
Notes/screenshot.png
Normal file
BIN
Notes/screenshot.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 18 KiB |
14
README.md
14
README.md
@@ -1,21 +1,17 @@
|
|||||||
# Project Hearts version 1.0, 22nd June 2011
|
# Project Hearts version 1.1, 6th September 2013
|
||||||
|
|
||||||
## Introduction
|
## Introduction
|
||||||
|
|
||||||
This project is over 1 1/2 years old, so it doesn't reflect my current programming skills. Regardless, it's a pretty good demonstration of my development. From the KAGE engine, you can see what my thought processes at the time were, and you can probably guess that this evolved into my [Codebase](https://github.com/Ratstail91/Codebase). This has a sound system, and some aspects are different, but it's not a terrible start. I<>ve also included all of the unused modules including NetworkManager, which aren<65>t used here, but are simply part of KAGE.
|
I've added a few features that I wanted, mostly to show off that I can complete a set task. Hopefully the program will be sufficient proof, as long as job interviewers don't look at the code.
|
||||||
|
|
||||||
I'd say that my biggest problem when I was learning was my overreliance on inheritance. You can see this from Card being descended from Image, a common habit in my old code. Also, the presence of NamedManager, which was essentially a wrapper for std::map, and was used to create several different Manager classes isn<73>t something I<>d do today.
|

|
||||||
|
|
||||||
Finally, my biggest mistake I believe, was that I made the KAGE engine closed source. This is a bad idea, since having code visible shows off what you can do. Whether it<69>s to a potential employer, or to someone critiquing your code, it<69>s always a good idea to show what you can do. That<61>s exactly why I<>m uploading this old project. Maybe if I had someone to guide me on the engine<6E>s design at the time, I<>d have a radically different Codebase and coding style today.
|
|
||||||
|
|
||||||
I don<6F>t consider this project complete, since it<69>s still missing a score display and a card passing button, but the scores are shown in the console window (stdout) and the F1 button compensates for a lack of graphical buttons. I<>d like to remake this, using the existing game logic to rely on my current Codebase version. If I do, I<>ll release the modified version under the zlib license.
|
|
||||||
|
|
||||||
## Instructions
|
## Instructions
|
||||||
|
|
||||||
Drop the "rsc" folder into the same directory as the executable
|
Drop the "rsc" folder into the same directory as the executable
|
||||||
To select a card, click on it
|
To select a card, click on it
|
||||||
To pass three cards at the start of the round, select them and press F1
|
To pass three cards at the start of the round, select them and press the pass button
|
||||||
To speed up the wait after a round, press F1
|
Try to keep your score as low as possible by avoiding the hearts cards, and the queen of spades
|
||||||
|
|
||||||
## Copyright
|
## Copyright
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user