-
Notifications
You must be signed in to change notification settings - Fork 10
/
README
91 lines (65 loc) · 3.08 KB
/
README
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
Game: Bomberman
Authors: Ricky Cheng, Salvatore DiLeo, Abraham L Fried-Tanzer
Description: Class game of bomberman with single player / multiplayer.
------------------------------------------------------
Instructions: To run the game, type the following command
python main.py
# Multiplayer
To run this, it is a bit more complicated. Currently it is set to run on the localhost.
This setting can be modified from the config.py file. In order to run it on your server,
change LOCALHOST = True to LOCALHOST = False. server_tcp, admin, and game file is currently
set to localhost / reflecting my online server. Those values would have to be changed as well.
Assuming we are on localhost. You will need to run two separate instances of the game.
# Run the server
python ~/bomberman/server_tcp.py
# Start the two instances of the games, join multiplayer
python ~/bomberman/main.py
python ~/bomberman2/main.py
# Run the admin to start the multiplayer game
python ~/bomberman/admin.py
Press 8 to start the game
-----------------------------------------------
# Keys
Arrow keys to move
Spacebar to lay bomb
g is a cheat / easter egg. It adds 1 bomb and 1 power up
# Title Screen
- Single Player
= One player bomberman, currently set to have 2 stages with 6 levels per stage.
- Multi Player
= Multiplayer bomberman that supports up to 4 players via a TCP connection. This
can be played via local
- Instructions
= Not implemented
- High scores
= This displays all the high scores for single player.
- Exit
= Terminates the application.
-----------------------------------------------
BUGS
- Explosion doesn't kill you when you stand on a bomb
- Bomb doesn't display when you press the spacebar / lay it down
- Lag in animation when bomb explodes / player moves around
- When you run into an enemy, it doesn't redraw
- Timer runs out, no calculations
- Stage calculations, after 2-6 it will crash
- Pressing keys does not turn if the player can not move into that position
- Multiplayer, no game over?
---------
The MIT License (MIT)
Copyright (c) 2014 Ricky Cheng, Salvatore DiLeo, Abraham L Fried-Tanzer
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
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 OR COPYRIGHT HOLDERS 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.