GDP App
A very simple progran that queries GDP data for a country from the world bank API and prints it.
To run the app:
- run the program
scala gdp_app.scala
Scala Pokerhand App
My very first attempt at programming in Scala. Mostly keeping this here as a note-to-self.
poker_hand.scalacreates the poker hand classpoker_game.scalacreates an object derived from App (no need for amain()function) that lets you "play" cards from the terminal.- Disregard
hello_world.scala
To run the app:
- Compile
poker_hand.scalaandpoker_game.scala:
scalac poker_hand.scala
scalac poker_game.scala
- run the program
scala -cp . pokergame.poker_game
To kill the app, simply press ^C