This repository hosts code samples included in the following blog posts:
-
Java 24: ‘HelloWorld’ and ‘main()’ meet minimalistic
- Patterns.java - Print a pattern of letter P, using a specified letter
- AnimateText.java - Animatedly display lines of text by printing each word with a pause in between
- MaximumSubarray.java - Finds the largest sum of a contiguous subarray within the given array of integers.
- HangmanGame.java - Guess a word, one letter at a time
-
Java 24: Build Games, Prototypes, Utilities, and More—With Less Boilerplate
- Drawing Concentric circles – A fun animation to watch in action.
- Hangman – Guess a word, one letter at a time.
- Treasure Hunt – Find the location of the hidden treasure.
- Rock-Papper-Scissors – Who hasn’t played this classic?
- Dots and Boxes – Join lines to complete boxes and claim territory.
-
Just for the love of creating games using console and some basic UI :)
- Funny Development Paradigms - A fun take on the actual development paradigms. I created two version of this game:
- Mood-Emoji :)
- MoodArt.java - displays a text based scenery, based on your mood
- SimpleMoodEmoji.java - Draws a simple text based emoji based on your mood
This project is maintained by Mala Gupta.