All Projects → opatry → wordle-kt

opatry / wordle-kt

Licence: MIT license
Wordle game clone made with Kotlin & Compose

Programming Languages

kotlin
9241 projects
shell
77523 projects

Projects that are alternatives of or similar to wordle-kt

Tachidesk-JUI
A Tachidesk Client built in Compose Multiplatform
Stars: ✭ 203 (+515.15%)
Mutual labels:  jetpack-compose, jetbrains-compose, compose-desktop, compose-for-desktop
breakout-compose
Breakout clone built with Compose
Stars: ✭ 27 (-18.18%)
Mutual labels:  compose, jetpack-compose, jetbrains-compose
resaca
The right scope for View Models in Android Compose
Stars: ✭ 105 (+218.18%)
Mutual labels:  compose, jetpack-compose
Delish
Delish, a Food Recipes App in Jetpack Compose and Hilt based on modern Android tech-stacks and MVI clean architecture.
Stars: ✭ 356 (+978.79%)
Mutual labels:  compose, jetpack-compose
me
A Jetpack Compose Kotlin Multiplatform WYSIWYG blog editor
Stars: ✭ 62 (+87.88%)
Mutual labels:  compose, jetpack-compose
karavel
Lightweight navigation library for Compose for Desktop
Stars: ✭ 55 (+66.67%)
Mutual labels:  jetpack-compose, compose-desktop
ComposeBird
Flappy Bird game
Stars: ✭ 193 (+484.85%)
Mutual labels:  compose, jetpack-compose
Compose-Settings
Android #JetpackCompose Settings library
Stars: ✭ 188 (+469.7%)
Mutual labels:  compose, jetpack-compose
MovieCompose
🎞 A demo movie app using Jetpack Compose and Hilt based on modern Android tech stacks.
Stars: ✭ 322 (+875.76%)
Mutual labels:  compose, jetpack-compose
PCard
Demo project to showcase adding payment card details using JetPack Compose
Stars: ✭ 61 (+84.85%)
Mutual labels:  compose, jetpack-compose
compose-backstack
Simple composable for rendering transitions between backstacks.
Stars: ✭ 411 (+1145.45%)
Mutual labels:  compose, jetpack-compose
PreCompose
Compose Multiplatform Navigation && ViewModel
Stars: ✭ 150 (+354.55%)
Mutual labels:  jetpack-compose, compose-desktop
D-KMP-sample
D-KMP Architecture official sample: it uses a shared KMP ViewModel and Navigation for Compose and SwiftUI apps.
Stars: ✭ 636 (+1827.27%)
Mutual labels:  jetpack-compose, compose-desktop
Composecookbook
A Collection on all Jetpack compose UI elements, Layouts, Widgets and Demo screens to see it's potential
Stars: ✭ 3,516 (+10554.55%)
Mutual labels:  compose, jetpack-compose
SuperheroLexicon
Simple superhero lexicon app to demonstrate Jetpack Compose.
Stars: ✭ 22 (-33.33%)
Mutual labels:  compose, jetpack-compose
Kodein Di
Painless Kotlin Dependency Injection
Stars: ✭ 2,692 (+8057.58%)
Mutual labels:  compose, compose-desktop
kmm-production-sample
This is an open-source, mobile, cross-platform application built with Kotlin Multiplatform Mobile. It's a simple RSS reader, and you can download it from the App Store and Google Play. It's been designed to demonstrate how KMM can be used in real production projects.
Stars: ✭ 1,476 (+4372.73%)
Mutual labels:  compose, jetpack-compose
compose-charts
Simple Jetpack Compose Charts for multi-platform. Including Android, Web, Desktop.
Stars: ✭ 30 (-9.09%)
Mutual labels:  compose, jetpack-compose
Jetpack-compose-sample
Forget about bunch of XML files for maintaining UIs. Jetpack Compose is Android’s modern toolkit for building native UI. Here is a small example to get started.
Stars: ✭ 29 (-12.12%)
Mutual labels:  compose, jetpack-compose
Jetpack-Compose-Theme-Configurator
Desktop Application to setup/configure your Jetpack Compose Color/Theme Palette
Stars: ✭ 50 (+51.52%)
Mutual labels:  jetpack-compose, compose-desktop

Build Status

Wordle Compose

Wordle game clone written in Kotlin & using Compose UI Toolkit.

Screenshots

Compose for Desktop

Main screens

Playing Victory End of game Settings How to play

Light & Dark mode

Light 🌞 Dark 🌛

Compose for Android

The main UI is displayed in Android devices.

For now, the setup is made quick & dirty and needs improvements (maybe using Kotlin Multi Platform project?). Sources from the desktop version needs to be copied into the Android project.

./syncComposeSharedSources.sh

Any edit made in the Android copy should be done in the original desktop module afterwards.

Extracting Compose code common to Desktop & Android apps in a shared module would clean this mess but might require specific Gradle setup. Reason why it might be better to use KMP project setup.

Android support is still very rough and a nice to have for now.

ASCII/Console mode

.---------------.
| Hello Wordle! |
'---------------'
 ➡️ Enter a 5 letter english word: hello
Wordle 189 4/6
T⬛I⬛L🟩E🟨S⬛
G⬛R⬛E🟨A⬛T⬛
T⬛A⬛L🟩E🟨S⬛
H🟩E🟩L🟩L🟩O🟩
 ⬜ ⬜ ⬜ ⬜ ⬜
 ⬜ ⬜ ⬜ ⬜ ⬜
Congrats! You found the correct answer 🎉: HELLO
 🔄 Play again? (y/N) 
Full game…
.---------------.
| Hello Wordle! |
'---------------'
 ⬜ ⬜ ⬜ ⬜ ⬜
 ⬜ ⬜ ⬜ ⬜ ⬜
 ⬜ ⬜ ⬜ ⬜ ⬜
 ⬜ ⬜ ⬜ ⬜ ⬜
 ⬜ ⬜ ⬜ ⬜ ⬜
 ⬜ ⬜ ⬜ ⬜ ⬜

 ➡️ Enter a 5 letter english word: tiles
T⬛I⬛L🟩E🟨S⬛
 ⬜ ⬜ ⬜ ⬜ ⬜
 ⬜ ⬜ ⬜ ⬜ ⬜
 ⬜ ⬜ ⬜ ⬜ ⬜
 ⬜ ⬜ ⬜ ⬜ ⬜
 ⬜ ⬜ ⬜ ⬜ ⬜
Keep going… 1/6
 ➡️ Enter a 5 letter english word: great
T⬛I⬛L🟩E🟨S⬛
G⬛R⬛E🟨A⬛T⬛
 ⬜ ⬜ ⬜ ⬜ ⬜
 ⬜ ⬜ ⬜ ⬜ ⬜
 ⬜ ⬜ ⬜ ⬜ ⬜
 ⬜ ⬜ ⬜ ⬜ ⬜
Keep going… 2/6
 ➡️ Enter a 5 letter english word: tales
T⬛I⬛L🟩E🟨S⬛
G⬛R⬛E🟨A⬛T⬛
T⬛A⬛L🟩E🟨S⬛
 ⬜ ⬜ ⬜ ⬜ ⬜
 ⬜ ⬜ ⬜ ⬜ ⬜
 ⬜ ⬜ ⬜ ⬜ ⬜
Keep going… 3/6
 ➡️ Enter a 5 letter english word: hello
Wordle 189 4/6
T⬛I⬛L🟩E🟨S⬛
G⬛R⬛E🟨A⬛T⬛
T⬛A⬛L🟩E🟨S⬛
H🟩E🟩L🟩L🟩O🟩
 ⬜ ⬜ ⬜ ⬜ ⬜
 ⬜ ⬜ ⬜ ⬜ ⬜
Congrats! You found the correct answer 🎉: HELLO
 🔄 Play again? (y/N) 

Tech Stack

Development

To build and run the desktop application, run the following command

./gradlew run

To run tests, run the following command

./gradlew test

To build and package desktop application, run the following command

./gradlew assembleDist

License

The MIT License (MIT)

Copyright (c) 2022 Olivier Patry

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].