Duel! (ValerADHD)

Add to
My games
Add to
Wishlist
Save to
Collection
No reviews
Exceptional
Meh
Skip

About

Note:  Hold LEFT while starting to enable AI
A quick game made for TweetTweetJam 5. Code done completely in 559 characters.

 Use player 1/2 Z keys to fire whenever the game says "BANG!". The fastest player wins the duel!

Code:

cls()poke4(12800,4011)s=spr
?"웃~"
memcpy(0,24576,512)b=btn
h=64j=60k=print
::m::k("❎ duel! ⬅️ ai",36,9)a=nil
if(b(0))a=1
if(b(5))d=t()c=1p="READY.."goto _
goto m
::_::
m=t()r=rnd
cls()s(0,26,j,2,1)s(0,86,j,2,1,true)
if(m-d>=c)d=m+r(c*5)p="STEADY.."c+=.5
color(3+c*2)
if(c>=2)p="bang!"
x=(m-d)*4+2y=h-x
if(yf=c>=2and yif(r()>.9and a and f)poke(24397,16)
if b()&4112>0then
sfx(0)
if(c>=2)n=2else n=5
o=28
if(b(4,0))o=99
pset(o+r(n),j+r(n),n)pal(0,7,1)flip()
w=1if(o==99!=f)w=2
pal()k("★player "..w.." wins!★",28,0,10)goto m
end
flip()goto _

Platforms
Release date
Developer
ValerADHD
Age rating
Not rated

System requirements for Web

Read more...
Duel! (ValerADHD) screenshot, image №2596590 - RAWG
Edit the game info
Last Modified: Nov 9, 2020

Where to buy

itch.io