Share your repls and programming experiences

← Back to all posts
HexAguess Game
h
JDOG787

Hi everyone!

Ive been working on this game for a couple days now. Its called HexAguess. You try to guess which out of six colors is the correct hex color code that it shows you! For a full explanation go here!

Where I got the idea?

Well I got this idea from one of my courses where we made a game like this but much simpler and it was with RGB. So I decided to try to remake it with hex codes and add other features like points and lives!

Features

  • Points
  • Lives
  • Random Colors
  • Great UI (Hopefully xD)

Sneek Peek:

If you liked it go ahead and upvote!

Thx!

Voters
JDOG787
DragonQuester
RSonger
TylerArmstrong2
MumboJumboFan
clickinfohub
AgastyaSandhuja
CodingRobot12
JoshuaDB
SwaroopBappanad
Comments
hotnewtop
NoNameByProgram

ok i made a script... just put this in a tampermonkey script and ur done :D

zplusfour
JDOG787
NoNameByProgram

@JDOG787 im gonna make version v0.2 :OOOO
with a 1/2 button

JDOG787
NoNameByProgram

@JDOG787 The 1/2 button will remove 3 guesses and potentially make your chances of getting it right higher.

ch1ck3n

@NoNameByProgram Wow it actually works

JDOG787

@NoNameByProgram hmmmm cool

JDOG787
JakeHu2020

@JDOG787 tampermonkey install: https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo?hl=en Then click the puzzle piece on the up right part of the screen. Then click the tampermonkey image. Then press new script, and paste the script.

JDOG787
JakeHu2020
NoNameByProgram

@JDOG787 Unfortunately, we are not able to make a 1/2 button. You are not able to append children to the guesses. This may result in glitches and broken UI. We are sorry for the inconvenience.

JDOG787

@NoNameByProgram lol its fine

HENRYMARTIN4

@NoNameByProgram omg i love it

JDOG787
NoNameByProgram

@JakeHu2020 also, why are you 9? aren't you supposed to be at least 13 to join this?

LoganSpong

@NoNameByProgram you would be surprised
wink wink

Nettakrim

a "harder difficulty" that added in codes like #4287f5 would be nice

JDOG787

@Nettakrim ok cool thx. also good job

SeamusDonahue

I wholely agree, I think it would be more fun that way @Nettakrim

Nettakrim

especially as its harder to translate codes with letters in them into colors (mentally that is)

JDOG787

Hmmmm yes. Maybe I’ll make a v2 sometime @Nettakrim

firefish

@JDOG787 just nonchalantly cheating

JDOG787

@firefish LOL cheater

matthewproskils

@JDOG787 If you're posting anything on repl.it EVERYONE will cheat

JDOG787

@matthewproskils ye but idc

matthewproskils
Bookie0

Where I got the idea?

where did I get the ideas?
smh lol

but good job anyways! ;)

JDOG787

@Bookie0 wdym?

Bookie0

lol I was just being the grammar police: you wrote "Where I got the idea, and you forgot the did lol @JDOG787

JDOG787

@Bookie0 ohh LOL xD

Bookie0
JDOG787
[deleted]

hey dude you took that many days to finish? Don't you have school?

JDOG787

@MayelMustafa lol. did I do it quick?

potatojs

@JDOG787 slow..i think

JDOG787

hmmm @potatojs

potatojs

lmao just kidding this is awesome!
@JDOG787

JDOG787
ironblockhd

This is my score:

Also, I pressed "restart" and i restarted with full points

JDOG787

@ironblockhd nice job! hmm ill look at it thx

TheDrone7

OOF at least I didn't cheat.

JDOG787

@TheDrone7 lol nice job

TheForArkLD

just use canvas for image

JDOG787
TheForArkLD

@JDOG787 mdn is your friend

MatReiner

Bruh it's not even hex (only 0-9)

JDOG787

@MatReiner its still a hex code tho. also im going to make a v2 sometime

MatReiner

@JDOG787 ok ping me when u do

JDOG787

@MatReiner on discord?

FlaminHotValdez

I resolve to get better at reading RGB codes.

JDOG787

@maxyang lol nice

luukibo

nice game

JDOG787

Thanks! @luukibo

JeanphilippeLuv

trop bien

JDOG787
KrishyABob

oh, and make a button where you can exit out of the how to play

JDOG787
KrishyABob

hey jdog, in the how to play, just put a space in between "thenyou" :)

JDOG787

@KrishyABob oh lol thx

KrishyABob

@JDOG787 you're welcome :)

JDOG787
[deleted]

this is #696969

JDOG787
[deleted]

me with a hex color picker: <img src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxISEhUTEhIVFRUWFRcVGBcSFRUVEBUVFRIWFhUVFRUYHSggGBolGxUVITEhJSkrLi4uFx8zODMtNygtLisBCgoKDg0OGhAQGislHx0tLS0tLS0tLS0tLS0tLS0tLS0tL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+trWfk0THvZjPv3+Cn+kyyw9Rzumi5Vlaw/iKUot5O19eQ26NR6Qm/CEvyGnvRi3/jf9Kf6Rh7exLlxe1lfraP5Fypy5sVOSZMjRqLWE14xkl70P0f3chw3pxi0rPzjB/GIzW29iJ5yqf9YL4IHTkwzJFzXxLtk17isdS5X1cdUl9KV/JfkN/KJdfgNUbCc7lrxsCq+US6/AUfpkbjIABaIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//9k=" alt="Master Shifu kills Po - YouTube"/>

Code1Tech

Wow, very fun!
I got this much score (i think i have the record)

JDOG787

@Code1Tech thx! good job!

Codemonkey51

I didn't cheat here is my score:

JDOG787

Wow good job! @Codemonkey51

ThunderPython

@JDOG787 I really like the idea and initiave you took to make this....

JDOG787
ThunderPython

Welcome @JDOG787.
You can participate in my unofficial jam.
The rules and instructions are in the link
https://repl.it/talk/share/HELLO-RELPERS/55241

JDOG787

@ThunderPython Hi could you please not advertise here? thx

ThunderPython

Sorry @JDOG787

JDOG787
ThunderPython

But Please participate @JDOG787

JDOG787

@ThunderPython Nah im busy, sorry

ThunderPython

It's ok @JDOG787

SeamusDonahue

I love this concept, although Idk if I'm really good or if this or if its really easy (I'm not meaning to brag I'm genuinely curious how other people fair). this is really cool though

JDOG787
OctagonalT

f in the chat

JDOG787

@OctagonalT wow good job

OctagonalT

this is actually really addicting

JDOG787

@OctagonalT lol ikr

gwood5901

Great game! I found a bug, though-when you click on an empty square that you've already gotten wrong, it still counts it as a guess. Fix this bug and I'll upvote :)

JDOG787

@gwood5901 hmmm ok thx

gwood5901
JDOG787
thewaydu

Cool!

JDOG787
potatojs

why there is not something like #32eef5?
i mean...

SixBeeps

JDOG787

@SixBeeps wow nice

DJWang

JDOG787

@DJWang Nice!

RetroCudi

This dope lol Keeps me guessing

JDOG787

@RetroCudi lol thx

[deleted]

guys if you want a high score there's a thing called google :)

potatojs

no if you want a high score there is js

@MayelMustafa

JDOG787

@potatojs ye... but then you are cheating :/

potatojs

console go BRRRR
@JDOG787

JDOG787
bgrubert

Make it so there are more options as you get farther - It's kind of easy in the beginning

JDOG787

@bgrubert ok thx

bgrubert

@JDOG787 I really love this game idea. The website looks so nice!

JDOG787