Share your repls and programming experiences

← Back to all posts
Shiritori Word Game (v1.0.0)!!!
IreoluwaRaufu (204)

The (almost) final version of the Shiritori Game that I have had in development for the past 3 weeks now!

This version includes a difficulty scaler and a stats page that prints at the end of the game.

I've implemented the base for the code that will eventually be the two-player mode, but that's still a work in progress.

ENJOY! :)

Commentshotnewtop
a5rocks (732)

Errored when pressing enter on difficulty selection... maybe it should default to medium?

Also, I'm of the opinion the game shouldn't exit at the end, so you can see all the stats over time, which is pretty cool :D

IreoluwaRaufu (204)

@a5rocks hmmm, that's a good suggestion! Should I add a menu option to view stats while playing the game?

a5rocks (732)

@IreoluwaRaufu Well not while playing but after / before a game would be great!

Also, I thought of something like an optional timer. You know chess timers? Where you start with a large initial amount and gain some extra amount every time you finish a turn? Something like that might be nice to include though I have no idea if it would work.

IreoluwaRaufu (204)

@a5rocks That's sounds like a great idea, but I have no idea how that would work in a command-line setting like this.

There is a word timer in the original game though, where the faster you type, the more points you get. The original is here -> https://shiritorigame.com/

Thecrowbar1234 (124)

@IreoluwaRaufu You can use a module called threading to do this. Threading allows you run command line code at the same time.

IreoluwaRaufu (204)

@Thecrowbar1234 Oh, so I could have a line that runs a countdown while the user types a word? Hmm... I'll try that, thanks!

IreoluwaRaufu (204)

If you want me to add certain words, just suggest them and I'll see if they are dictionary words so that I can add them! (no medical terms, please) Thanks for the support! \(0.0)/

EvanEvanEvan (1)

This is such fun! Thank you for making this. This might help to win: http://phobialist.com/

hatcakes (1)

very good, but difficulty is somewhat inconsistent still, and game will throw an error if you give an empty response at the read the rules section or during the difficulty select. besides this, it's fun and engaging.

IreoluwaRaufu (204)

@hatcakes Adding a default option for those inputs will be in the next update. Thanks! :)

hatcakes (1)

Also: I may have understood it wrong, but at the end it says that the winning party has 1 point and the loser has 0, and the # of words counter is bugged as well with the same problem.

ApoorvAgrawal (14)

Chemical name of titin ends with e

bgrubert (123)

How do you calculate cyclomatic complexity?

AidanEgresits (0)

Even though the rules state you shouldn't be able to, the ai
can still input words that have been used previously in the game and receive points for them. Having a blast playing this though :D

IreoluwaRaufu (204)

@AidanEgresits ooo, I didn't know that. More stuff to fix in the next update then!

Warhawk947 (337)

Great game! My suggestion would be to make it so you can play again.

hybridchicken (0)

dude yohimbinization isn't a word in the dictionary

hybridchicken (0)

eellogofusciouhipoppokunurious is a word please add it in

JeremyIrwin (33)

good, very e n t e r t a i n i n g

rediar (239)

shiritori is fun, I remember playing it a lot a while ago.