Skip to content
← Back to Community
Nuke.io
Profile icon
h
has Hacker Plan
Coder100

NUKE.IO

ANTI-NUCLEAR WARFARE GAME

About

This game is about an unknown country attacking your country with nuclear missiles. You'll as a soldier have to use an anti-nuclear warfare truck/gun to destroy the nuclear missiles!


This game was made because there aren't enough HTML5 games on repl.it that actually involve movement and shooting and static websites. However, I am planning to make this multiplayer in version 2 (nuke2.io). Please comment on any concept ideas for how you want to see it!

Gameplay

  • Left-arrow to move truck left (or A)
  • Right-arrow to move truck right (or D)
  • Mouse to aim
  • Click to shoot

Mobile
Note: On IOS 13, make sure to request mobile website.

  • Press left button to move left, etc.
  • Click to shoot

Tips and tricks

This game is more about getting carpal tunnel than shooting accurately.
There's an air strike--just a heads up!
As the time moves right, the speed of the bombs look like this. After the graph ends, if you are on infinite mode, it will repeat itself, and if you are on normal mode, the game would be finished.
03448309-4D49-4170-988C-C1A8E39E4C5D

Realizations

Although this game is very fun and addicting, there are some things to note:

  • The nuclear explosions are way too small. They would cover up the entire page in real life.
  • It would be impossible to create that many nuclear bombs: too expensive. (Is there even enough uranium?) And plus, one nuclear detonation is enough to destroy a whole city, so such a concentrated attack would be too useless.
  • There has never been a nuclear airstrike as far as I know.

Closing

We need more p5.js games.

PLEASE VOTE UP IF YOU LIKED IT!

Also, comment ideas below for how nuke2.io (multiplayer) should look!
i.e., give comments below for some concept ideas like how gameplay should be, should it be players working together or attacking each other, etc.

HAVE FUN!

Happy coding!

Voters
Profile icon
JpBarron2010
Profile icon
Alexander-Dariu
Profile icon
FelixFlexman
Profile icon
KaiTerry
Profile icon
gendutgaming
Profile icon
Yktvmarxxy
Profile icon
Thegame123
Profile icon
Royb2010
Profile icon
Spotandjake
Profile icon
forceofyoda
Comments
hotnewtop
Profile icon
bgrubert

@avibeskrowni and I started a p5 game but I have no idea how to make it multiplayer @Coder100

Profile icon
Coder100

Ah, you would need a backend like node.js and may I recommend socket.io for real-time web sockets? @bgrubert

Profile icon
bgrubert

@Coder100 You should make a tutorial on that

Profile icon
seanlnge

@bgrubert I don't want to come out as just supporting my channel, but I made a tutorial yesterday out of pure boredom from self-quarantine lol. Here's the link if you actually want to watch it: Link

Profile icon
bgrubert

@SpicedSpices Thank you!

Profile icon
Coder100

Lol it appears someone has beat me to it :p @SpicedSpices

Profile icon
bgrubert

@Coder100 You can still make a tutorial on repl.it

Profile icon
seanlnge

@Coder100 It's alright lol
My knowledge of it is pretty basic you could probably explain it better

Profile icon
SilentShadowBla

just curious, are you still working on surviv3? @Coder100

Profile icon
Coder100

After the code jam, yes @SilentShadowBla

Profile icon
Leroy01010

nice

Profile icon
Coder100

thanks :D @Leroy01010

Profile icon
Leroy01010
Profile icon
DUDEMASTER169

this is awesome

Profile icon
Coder100
Profile icon
nN34398Ff

lol it just says loading assests

Profile icon
nN34398Ff

@nN34398Ff wish I could see the working kind, stupid computer

Profile icon
Coder100

Lol :p
Is this a big thing? It usually takes ~ 40 seconds first load @nN34398Ff

Profile icon
Wilke000

1,289 on infinite, -6231 on regular

Profile icon
Coder100
Profile icon
Wilke000

Thanks! @Coder100

Profile icon
Coder100

no problem! @IndyCarter

Profile icon
Wilke000

now -5,484 on reg.
@Coder100

Profile icon
Coder100
Profile icon
Wilke000

:p @Coder100 love ur games!

Profile icon
Wilke000

Very funny -6231

Profile icon
Coder100

nice job!
That's really good! @IndyCarter

Profile icon
Wilke000

really @Coder100 ?

Profile icon
Coder100

Ye
The air strike is impossible :p @IndyCarter

Profile icon
Wilke000

ok but i did do air strike @Coder100
so it isnt inpossible

Profile icon
nN34398Ff

ReferenceError: $ is not defined
at /script.js:266:1
ReferenceError: $ is not defined
at setup (/script.js:143:3)
at _setup (https://cdn.jsdelivr.net/npm/[email protected]/lib/p5.js:63048:27)
at _runIfPreloadsAreDone (https://cdn.jsdelivr.net/npm/[email protected]/lib/p5.js:62986:27)
at p5._decrementPreload (https://cdn.jsdelivr.net/npm/[email protected]/lib/p5.js:62995:27)
at Image.img.onload (https://cdn.jsdelivr.net/npm/[email protected]/lib/p5.js:79376:24)
This is all it says

Profile icon
Coder100

!!!
hmmm ok @nN34398Ff

Profile icon
Coder100

Weird. i think it was an outage
it works now @Coder100

Profile icon
nN34398Ff

It doesn't work

Profile icon
staticvoidliam7

I got the early preview xD

Profile icon
Coder100
Profile icon
DynamicSquid

there aren't enough HTML5 games on repl.it

There aren't enough games that are not HTML on repl.it lol

Oh and it's too hard. My score was like -20000 xD

But I would love you to make it multiplayer! Well done!

Profile icon
Coder100

Thank you! Lol @DynamicSquid

Profile icon
Thehappysquid

I got
-11,711

Profile icon
Coder100
Profile icon
Thehappysquid

I think the second game should actually cause objects to be hurled at you (if possible) in higher levels.

Profile icon
Thehappysquid

I love nuclear war, let the bombs fall... (jk)

Profile icon
Coder100
Profile icon
Thehappysquid

@Coder100 this is cool!

Profile icon
Coder100
Profile icon
JDOG787

@Coder100 code jam?

Profile icon
Thehappysquid
Profile icon
Coder100

It's for me, we are doing the code jam @Thehappysquid

Profile icon
Thehappysquid
Profile icon
AphixDev

um...

Profile icon
Coder100

Hi do you like it? @nt998302

Profile icon
AphixDev

@Coder100 Ya! It's pretty cool that you can just make a game like this! The next step is networking...

Profile icon
Coder100

Thanks! What do you mean by networking? @nt998302

Profile icon
AphixDev

@Coder100 It would be absolutely insane if you made this game a two player networked game, with scoring or something like that... Maybe add some database stuff along with the server side... ambitious xD

Profile icon
Coder100

XD
I probably can
Any ideas on how the game should look like? @nt998302

Profile icon
AphixDev

@Coder100 Hmm... Maybe classic cartoony style, similar to moomoo.io

Profile icon
Coder100

Ahh yes
But how should the game be
Should be in teams to overcome the air strike or bases attacking each other? @nt998302

Profile icon
AphixDev

@Coder100 I would enjoy there being several game modes, such as teams as you mentioned, where you defend a base. I would make the bullets a little larger too, as it will make it less hard to destroy incoming nukes.

Profile icon
Coder100

sure! thank you for your suggestions!
@nt998302

Profile icon
AphixDev

You are very welcome @Coder100! I develop games in Unity, so I love thinking of new ways to improve already made and great games! :)

Profile icon
Coder100
Profile icon
1Dagree

Impossible game my score was -50,296

Profile icon
Coder100

That's really good!
Mine is -60,000 @Uzalii

Profile icon
1Dagree
Profile icon
Coder100

I think it's easier on mobile (just got 1,624!) @Uzalii

Profile icon
bgrubert

@Coder100 @Uzalii
Screenshot 2020-03-20 at 1.48.43 PM
-61,459

Profile icon
Coder100

Oof
Ok I'll easify it more @bgrubert

Profile icon
ashrit_lv

image

Profile icon
Coder100

lol yeah the airstrikes go pretty deep. @ashrit_lv

Profile icon
avibeskrowni

it's so hard

i mean if you don't get the first five or so shots the rest come really fast

Profile icon
Coder100

should I make it easier? @avibeskrowni

Profile icon
avibeskrowni
Profile icon
Coder100

ok Implemented! @avibeskrowni

Profile icon
Coder100

Tell me if it's still too hard @avibeskrowni

Profile icon
bgrubert

@Coder100 Nice job with the graphics, is this a multiplayer game?

Profile icon
Coder100

No, not yet.
nuke2.io will be! @bgrubert

Profile icon
bgrubert

@Coder100 Oops.. I didn't read the description

Profile icon
Coder100
Profile icon
bgrubert

@Coder100 In nuke2.io will you be the one dropping bombs on opponents?

Profile icon
AdCharity

there are plenty of games on repl which is why for a period of time people stopped making them

Profile icon
Coder100

Oh, ok :p @AdCharity

Profile icon
AdCharity

@Coder100 lmao how's surviv3 coming along?

Profile icon
Coder100

Meh, could be better
Work will continue again after the code jam @AdCharity

Profile icon
AdCharity

@Coder100 makes sense