Share your repls and programming experiences

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

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.


a5rocks (819)

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


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

a5rocks (819)

@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.


@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 ->


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


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


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 (5)

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

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.


@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 (51)

Chemical name of titin ends with e

bgrubert (189)

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


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

Warhawk947 (519)

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

ChungusFam (9)

Greatest work ever.


@ChungusFam Why thank you :)

JeremyIrwin (44)

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

rediar (499)

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