-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgame-.cpp
69 lines (60 loc) · 1.83 KB
/
game-.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/*
* File: game-.cpp
* Language: Cpp
* Author: Dal Bo Yob
* We: DBY Company
*
* Copyright 2021 DBY Company <dal@bo.yob>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301, USA.
*
*
*/
#include "lib/game.hpp"
int main()
{
system("echo Welcome to the 'game-?'!"); // goto add mesages
Block();
Cell();
Container();
Coordinates();
Count();
Craft();
Element();
Essence();
Exp();
Game();
Man();
Map();
Mouse();
NotTangible();
Object();
Objects();
Slot();
Tangible();
Xp();
Slot slot = Slot();
slot.add_my_type("Slot");
tools_cpp::print(slot.get_my_type());
cout << tools_cpp::find(slot.get_my_type(), "Object") << endl;
cout << tools_cpp::find(slot.get_my_type(), "bject") << endl;
// 1. terminal_interface {select planet, u/mount galaxy, next, exit} - run bash
// 2. load configs, data - create map, objects... - run cpp game --planet your_planet
// 3. game: terminal_interface {save/load/del/add/find/edit/... object/s, close}
// 4. save congigs, data - delete map, objects ...
// 5. terminal_interface {select planet, u/mount galaxy, next, exit} - run bash
return 0;
}