Skip to content

salbat/PokerHandSort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PokerHandSort

Poker Hand Sort Coding Exercise in Kotlin

Directory Structure

  • .idea: Inellij IDEA Setting folder
  • src: Source Code in Kotlin
  • out: Folder structure that contains the project artifacts 'assembly files - JAR file'
  • .iml: Inellij IDEA module file

How to build and use the code?

Simply, import the project root directory into Intellij IDEA and from the main menue:

  • Build -> Build Artifacts..

Alt text

  • -> Build

Alt text

  • The JAR file will be generated and stored in out/artifacts/PokerHandSorter directory

Alt text

  • Now, you can use the terminal command line to run the file as instructured in the PDF file. To use that from the root directory:
    • cd out/artifacts/PokerHandSorter
    • cat poker-hands.txt | java -jar PokerHandSorter.jar

Alt text

The easiest way to run and check the results!

Navigate to the bin directory and run the following command:

cat poker-hands.txt | java -jar PokerHandSorter.jar

About

Poker Hand Sort Coding Exercise in Kotlin

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages