Skip to content
← Back to Community
👮Cops And Robbers💰
Profile icon
Benny_3

Welcome to Cops And Robbers!

This file cannot be displayed: https://storage.googleapis.com/replit/images/1555600868035_7ad66005c7e9c038ad6bc1f40d34cfd8.pn

This game was created as a last minute project for Game Jam, as the creator heard about it last minute. He is a Freshman, and has been using REPL since the 7th grade.

What is it?

It is a simplistic game in which you are maneuvering a single robber through a building, collecting coins, while dodging cops, lasers, and spikes.

How do I use it?

Simple. Use WASD or the arrow keys to maneuver the robber, P to pause and R to restart. (Restarting won't affect your score) Also, you can use Esc to exit, as well as the X on the window. Remember that before you can play, you have to sign up or login with a username or code to save your status. (The game window won't open until you do.)

What's the story?

The Robber is a man named Eric Lee who was fired from his job for speaking against his boss, who was illegally ripping off customers. Meanwhile, his daughter is in a critical condition at the hospital, and he cannot afford to buy medicine. So, against his conscience, he decides to rob his old company.

Is it done?

No! Again, this was last minute, so the developer had no time to add important things, like a story. Hopefully in the future, he will finish and submit it, maybe for a 2nd Game Jam.

Best way to play?

Using a normal Python 3 interpreter and Pygame. While the REPL online Pygame system is very good, this game has a slow frame rate on the browser. Also, on REPL, don't use the .run link. Pygame doesn't work there. Instead, drag the borders to make it bigger.

Where to play?

Right Here!

Voters
Profile icon
CiannaMatthew
Profile icon
Micco33
Profile icon
mahrahamad2
Profile icon
Gabby8C0des8
Profile icon
ChezTacoz
Profile icon
Zachary007
Profile icon
LordPancake
Profile icon
katyadee
Profile icon
timmy_i_chen
Profile icon
CoderClub
Comments
hotnewtop
Profile icon
DavidGrant1

Best game yet! 10/10

Profile icon
lsambrook

you should vote for three ways btw....

Profile icon
QuinnKudla

This is pretty good! Nice job! It is kinda addictive.

Profile icon
GOEZDAVE

Cool concept and game. I also like that you used pygame cause our small game called VOL 2D was also made in pygame.

Profile icon
JackKudla

This game is very cool, the ai mechanics are good and the levels are intriguing!👌👍😄🤩

Profile icon
RobertCampbell1

Epic game! Was laggy on browser but following instructions went to desktop and worked fine.

Profile icon
bugkiller

Awesome game,
Started playing, and tried for an hour to beat the 15th level.

Profile icon
Chalo1981

pretty trash -1/10 just kidding really good game i would come back

Profile icon
Benny_3

@Chalo1981 Wow. That was scary. But thanks for giving a good comment.

Profile icon
BastianPedone

Great game, challenging and fun to play!

Profile icon
BenicioEnriquez

Great Game! Can you make it so that You can create levels? That would be great!

Profile icon
DanielDarabos1

@BenicioEnriquez I suppose you already can, by editing maps.json.

Profile icon
Benny_3

@BenicioEnriquez, I’m glad you like it. Also, that was the goal. However, again, I didn’t have enough time to create a well-done level editor. I future updates, I will put in the level editor.

Profile icon
Bubbledaoctopus

doesn't load

Profile icon
ChezTacoz

After Level 3 it started lagging but other than that great game!

Profile icon
[deleted]

supper fun

Profile icon
ysofka

this is a realy cool game. can you just make it not lag. it gets really annoying

Profile icon
ChristianDupont

it crashed

Profile icon
mdjb4

11/10. Very good from a professional point of view. I would be quite happy to make this into a real app. It is, unfortunately, a tad slow.

colorlist = [(255, 0, 0), (0, 255, 0), (0, 0, 255), (255, 255, 0), (255, 0, 255), (0, 255, 255), (100, 100, 0), (0, 100, 100), (100, 100, 0)] for y in range(len(list)): for x in range(len(list[y])): if list[y][x] == " " or list[y][x] == "": pass elif list[y][x] == "x": dict["Cops"].append({"Rect": pygame.Rect(x*50+5,y*50+5,40,40).inflate(-5, -5)}) elif list[y][x] == "*": dict["Robbers"].append({"Rect": pygame.Rect(x*50+5,y*50+5,40,40).inflate(-5, -5)}) elif list[y][x] == "o": dict["Exit"].append({"Rect": pygame.Rect(x*50,y*50,50,50), "Active": False}) elif list[y][x] == "#":

that could be improved.

Profile icon
Benny_3

Thanks for the feedback! I will try to shorten and improve that section, as well as improve the speed.

Profile icon
mdjb4

@Benny_3 Good idea and your very welcome.

Profile icon
vlad94568

I think it might be a bit too ​hard.

Profile icon
Benny_3

@vlad94568 Sorry. I may make it easier in the future, but it was supposed to be hard, so..

Profile icon
BastianPedone

Would definitely play again. Finished the game and I felt satisfied.

Profile icon
BastianPedone

Sad lagging on the server. But still good content.