Share your repls and programming experiences

← Back to all posts
SNEK AI
Coder100

Snek 2: Become Human

In the previous post, you were the snake. However, have you wondered where those trees came from? What malevolent creature planted those trees with the sole purpose of killing you? In the sequel, you become the creature: planting trees in peoples' way!

About

@DynamicSquid told me that I should make a snake AI, so with delay (because I switched keyboard layouts -- namely Dvorak -- and took a break), here it comes!
Also, I wanted to experiment with something I haven't actually used a lot: NavMeshAgent.

How to play

Use WASD or Arrow Keys to move.
Use left click to place a tree. You have a maximum of 30 trees, so place them in strategic spots!
Use right click to delete a tree (make sure your mouse is on the tree).

Screenshots

AI SNEK


Tree

Updates

Many bugs should now be fixed!

  • The snake can now finally die!

Closing

Have a good day! Hope you enjoy the game!

Voters
SilvermoonCat
pzrepl
CuriousMonkey
Astrroidd
Spotandjake
Wilke000
YPD
firedragondnd
UnluckyFroggy
AxolotlBot
Comments
hotnewtop
OldWizard209

The snek be like:

SudhanshuMishra

@OldWizard209 hehe I am a marvel fan

OldWizard209
AidanWaner

@OldWizard209 Haha! That's funny. Gotta love Marvel.

Coder100
Bookie0


Snek Racing to get Apple!!!

Coder100

indeed @Bookie0

Bookie0
LukeWright

bruh the snake is phasing thru the trees

Coder100
RayhanADev

Poifect! ٩( ᐛ )و
Also hai m8 been a while since i was around huh (⌐■_■)

Coder100

HAIIIIII
YAYAYYAYYAYA @RayhanADev

FlaminHotValdez

@RayhanADev It's been a while since we've seen the furret!

Coder100

such poggers @FlaminHotValdez

FlaminHotValdez

@Coder100 He is THE pog boi on repl.it.

Oh wait let me rephrase that.

The

POG

boi on repl.it.

TsunamiOrSumth

@RayhanADev hellow fren welcome back ٩( ᐛ )و

RayhanADev

@FlaminHotValdez @Coder100
awww (⁄ ⁄>⁄ ▽ ⁄<⁄ ⁄)

RayhanADev

@TsunamiOrSumth HAI FREN!

TsunamiOrSumth

@RayhanADev hello!!

CyberHacker101

Hmmmm YOU ARE BRITISH OH NONONONON @RayhanADev

KobeFF

POG

Coder100

POG @KobeFF

KobeFF

@Coder100 Even BETTER than the POGGIEST POG game in the history of POG games. It makes people think it's even POGGIER than the POGGIEST form of POG. Which means that no mtter how POG it is, it will always be POGGIER than the POG games, so it is the POGGIEST.

Whippingdot

Am I the first winner?


Immidiately 😁😁

Coder100

yeah, you are lmao @Whippingdot

Trex10

Uh, I don't have a picture, but I was off the grass area but going to it and a bunch of the snake yellow circles zoomed onto its tail from somewhere.

Coder100

@Trex10 uhhh
thanks for reporting it!

GeumjuKim

...

CRIES

WHY SNEK

SO MANY HOURs
WHYYYYYYYYY

Coder100
Baconman321

Man I wish I could switch keyboard layouts!

However, I think I type fast enough on qwerty.

Funny enough, I don't use all of my fingers, and I have been recorded to type up to 150 wpm!

My keyboard I'm using rn is pretty sticky, so I can't type as fast unfortunately.

Oh well, will have to do for now.

Also, cool game!

Coder100

@Baconman321 nice!!
also thanks!

codingmaster123

@Baconman321 thats fast, my record is 87 and I average around 70 and i only use 4 fingers.

tussiez

Snek is speed

tussiez

@tussiez Awesome! Nice cubemap :>

Coder100

ikr
also thanks, i found it myself! @tussiez

tussiez

@Coder100 Nice!

IntellectualGuy

You win snake I give up

Coder100

lmao
ah yes casting the island into the sea @IntellectualGuy

WILLIAMBAEWER

can the snek even die?

WILLIAMBAEWER


do I win?

WILLIAMBAEWER

the snek doesnt get longer after a certain point

Coder100

apparantly not, unfortunately @WILLIAMBAEWER

JBloves27

SNEK!

Coder100

SNEK

@JBYT27

JBloves27
TimeDragon

It is fun

CyberHacker101

can ya make the viewer a little faster?

Coder100

@CyberHacker101 yeah sure

CyberHacker101

also some of the buttons don't work

Coder100

hm? What isn't working? @CyberHacker101

CyberHacker101

the buttons like how to play stuf like that and after you win the button to return to menu @Coder100

CyberHacker101

every time you make a new post it just is better than the last one UPDOOT TIME

Coder100

:D THANKS! @CyberHacker101

CyberHacker101
coder400

i like

Coder100

thanks! @coder400

zakdakidd

This is insane

Coder100

:D thanks!! @zakdakidd

TheDragonCode

The millionaire question: Are we huge or are the trees just really small? The snakes may or may not have grown too...

Coder100

hmm
both? @TheDragonCode

FlaminHotValdez

2 people have done pog. None with all caps though. Here it is:

POG

Coder100
CodingGoose

nice!

Coder100
darkdarcool


This took me like 10 minutes to do.

Not sure it was worth it
Coder100

lmao
why not? @darkdarcool

darkdarcool

@Coder100
I feel like I could have been working on something important

Coder100

no, beating an ai is important @darkdarcool

darkdarcool

@Coder100
Hmm, maybe you're right. Me eating breakfast and living isn't as important as beating AI.

Trex10

@darkdarcool
I somehow beat it in like < 1min

BD103

Fun! (Though it's hard for people using laptop. Maybe add arrow key functionality, or raise the sensitivity?)

Coder100

@BD103 ok, will do!

IntellectualGuy

Pog

Snake go like brrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr

Coder100

BRRRRRRRRRRR @IntellectualGuy

LingWu1

What r u even supposed to do

Coder100

watch as a fricking ai snake outsmarts you :( @LingWu1

LingWu1
LingWu1

lol this is fun. Great job @Coder100

Coder100

thanks!! @LingWu1

DylanStein1

what are we supposed to do

Coder100

watch as a literal snake outsmart you lol @DylanStein1

DylanStein1

dat snake be phasing throught them walls and hacking though @Coder100

Coder100

yeah, I am not quite sure why it does that @DylanStein1

DylanStein1
gwood5901

lmao this is great

Coder100

thanks! @gwood5901

zplusfour

sneK

Coder100
zplusfour