/nextB

Primary LanguageC++

this is my C++ 1 year project

I use

This is the consol game that moving the emoji by press the space bar
When I started this project I developed this file using C language.
After half year I developed again with C++ language.

I created this project by referring to the game called Amazing Wire.
The reason that I choose this game is just I like that game.

About this game's function:

  • You can choose emoji and emoji color
  • You can choose the type that where will the emoji go when you clicking the space bar
  • You can get the certificate when you finish the game
    • certificate is including your name(nickname) and your score
  • This code will record your best score ↓↓↓
ifstream input("bestscore.txt");//file open
int n;
input >> n;
input.close();
if (n <= bestscore2) {//compare score 
	ofstream sco;
	sco.open("bestscore.txt"); //open file
	sco << bestscore2; //put bestscore into file
}

schedule

2019-04-01~
Planning what I will do

2019-05-01~
Developing with C language

used my knowledge that I learned at vacation academy
make a frame and main screen
2019-06-01~
make a main game source

hardest thing was emoji and line move at the same time
I'm a bit awkward when run because I didn't learn about threads in C ++.
2019-08-01~
Add setting

Settings can change the shape and color of emoji
Disunite the header(stdio, global variable)
2019-11-01~
change the source into C++

put function to class
add file stream
2019-12-05~
final presentation