WordleFX - Wordle in JavaFX and Kotlin

Overview

Wordle

This simple game is everywhere right now (the beginning of 2022) and it seems like everyone is playing it. As I was writing this application, it was announced that Wordle was sold to the New York Times, who will host it in the future.

If you don't know about Wordle you should go and take a look at it here. The website has all of the information that you need to understand how the game works, and you can play it (once a day) to see how it looks when it's running.

The game mechanics are very similar to "Mastermind", where you get clues about which letters are correct, and which are letters in the word but not in the correct place. It's different in these respects:

  • The indicators are on the guessed letters themselves
  • You know exactly which letters are correct
  • You know exactly which letters are in the wrong place
  • The guess has to be an actual word in the English language
  • You only get six guesses

All of these differences make the game a little easier than "Mastermind", but the requirement to use real words makes it feel tougher even though this factor limits the field of possible answers.

Finally, Wordle generates just one target word each day, for the entire world, and you only get to play it once per day.

WordleFX

WordleFX is written to be an absolute clone of Wordle in terms of look and game play. You get one word per day, and it's the same word as on the website. It doesn't lock you out if you've lost and restart it, or just restart it part-way through so you can start over. So it has no feature to share your results - that wouldn't be fair.

WordleFX wasn't really created to be replacement for playing Wordle on the Web. It's intended to be a demonstration of how Reactive JavaFX can be used to create a highly interactive and interesting interface in an application. It's also intended to be a demonstration of how CSS styling can be used as an integral part of a user interface.

Kotlin

WordleFX is written in Kotlin because ... Kotlin. There's nothing too crazy in here, and if you understand Java should should be able to scratch your head a little bit and figure out what most of the code is doing. Maybe you'll decide that Kotlin looks really cool and you'll want to learn it - that would be awesome.

Probably the strangest thing to Java programmers will be "Scope Functions", especially apply which is used copiously in WordleFX to configure Nodes. You can find out more about apply here.

The Game

You might also like...
Game made with Korge (Kotlin Multiplatform game engine)

MolesAttack Kotlin Multiplatform Game Play Html/js: https://feliperce.github.io/MolesAttack-Distribution/ Jar: https://feliperce.github.io/MolesAttack

 Android Kotlin: Matching Kitties: A Game Inspired by Cats
Android Kotlin: Matching Kitties: A Game Inspired by Cats

Android Kotlin: Matching Kitties: A Game Inspired by Cats A kotlin based Android memory game Screenshots | | | | | | | | | Viewing the App You can clo

Android Tetris + kotlin + jetpack compose
Android Tetris + kotlin + jetpack compose

Android Tetris + kotlin + jetpack compose

RPG written in Kotlin using Korge engine

TheAlchemist RPG written in Kotlin using the Korge engine Based on the template https://github.com/korlibs/korge-starter-kit-rpg, this is a simple pix

TicTacToe Game Built With Kotlin
TicTacToe Game Built With Kotlin

🎲 TicTacToe/Kotlin.... 🔥 TicTacToe-Kotlin- , , , , , , ,

AKotlin guess the word game in kotlin

GUESS THE WORD KOTLIN App Content appContent.mp4

Bigger Number Game With Kotlin
Bigger Number Game With Kotlin

Bigger Number App Vaidansh Bhardwaj Bigger Number App (aka "Cal Admission Test")

A Tetris game written in Kotlin using JOGL.
A Tetris game written in Kotlin using JOGL.

A Fast Tetris Game Written in Kotlin Using JOGL. Note: This game is unfinished. Controls Arrow Key Left / Right - Move the tetromino along the x-axis

Android Game App made with kotlin. Allows to play online on the same network!
Android Game App made with kotlin. Allows to play online on the same network!

Reversi - Kotlin/Android Project made for Arquiteturas Móveis at ISEC 2021/2022 Notes Build gradle to run app or install the 'reversi.apk' directly on

Owner
Dave Barrett
I've been programming professionally since 1986, with 30+ years experience building multi-user business applications. I have over 10 years experience in Java.
Dave Barrett
Wordlesolver - Wordle (Gurgle) solver with code from Wordle-Solver

WordleSolver Wordle (Gurgle) solver with code from https://github.com/PoorLazyCo

Bill Farmer 9 Nov 27, 2022
Wordle game clone written in Kotlin & using Compose UI Toolkit.

Wordle Compose Wordle game clone written in Kotlin & using Compose UI Toolkit. Screenshots Compose for Desktop Main screens Playing Victory End of gam

Olivier Patry 37 Nov 3, 2022
A cross-platform Java game Engine (Framework) , support JavaFX / Android / IOS / HTML5 / Linux / MAC / Windows

Loon Game Engine (Java Game Framework) EN / KR Free Game Resources Links Download Loon Game Engine Only Android-studio Template : androidstudio-templa

cping 502 Jan 4, 2023
WordleSolver - A small attempt to solve the Wordle game (in Spanish) without thinking too much

Wordle solver A small attempt to solve the Wordle game (in Spanish) without thin

Eduardo Pascua 2 Sep 30, 2022
The Destiny lore word game, that's definitely not just a worse version of Wordle!

Wormdle The Destiny lore word game, that's definitely not just a worse version of Wordle! Why not use an existing clone? Ever wanted to play Wordle, b

Ian Moore 2 Feb 6, 2022
A light-weight Android client for Polyhoot! Written in Kotlin and made with Material 3 and Dynamic Colors support.

A light-weight Android client for Polyhoot! Written in Kotlin and made with Material 3 and Dynamic Colors support.

Polyhoot! 2 May 31, 2022
This is an application that is about an X / O game. You can enter the names of the game, and there is also a screen for those who win and there is a button to continue playing and the game determines the result of each player

Game-X-O This is an application that is about an X / O game. You can enter the names of the game, and there is also a screen for those who win and the

Mohamed Rafat 2 Aug 20, 2022
Sample source code for Android Pride Rainbow Bounding Box written in Kotlin and OpenGL 🏳️‍🌈

Sample Code for Animated Rainbow Bounding Box in OpenGL A sample app showing how to draw a rainbow bounding box on Android with OpenGL and Kotlin. Blo

Rebecca Franks 28 May 24, 2022
simple game implements with kotlin and jetpack.(covered by unit test)

Simple Spy Game: Source Code ?? Published version ?? This repository contains a detailed game app that implements simple game using Koin, Room, Corout

Reza Darvishian 11 Jul 2, 2022
Minosoft is an open source minecraft client, written from scratch in kotlin (and java).

Minosoft Minosoft is an open source minecraft client, written from scratch in kotlin (and java). It aims to bring more functionality and stability. No

null 151 Dec 31, 2022