Refresh

This website github.com/jdstruck/Pool-ios is currently offline. Cloudflare's Always Online™ shows a snapshot of this web page from the Internet Archive's Wayback Machine. To check for the live version, click Refresh.

Skip to content

jdstruck/Pool-ios

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pool for iOS

Play pool from your iOS device. Implemeneted in Swift using SpriteKit. All resources are generated programmatically using SKShapeNode(point:count:).

Project Goals

For this implementation, my goals were as follows:

Current

  • Generate shapes programatically
  • Looks generally like pool, has somewhat realistic action
  • Game reset at end of game (i.e. no colored balls remaining, or 8-ball in pocket)
  • Pockets work reasonably well
  • Alternate views (start screen, "better luck next time"/"great job")

Future

  • Visible numbers/stripes
  • Cue
  • Running score
  • Correct (or better, configurable) ball order
  • Bumpers
  • Basic AI opponent

This was really fun to make, and while the game works basically as advertised, there are a number of future additions I would like to continue to work on to make this a more polished game.

Daily Log

Note: this app started off as an Asteroids knock-off, so early commits reference polygons, asteroids, etc.

  • Oct 27

    • Button back to start screen from game over screen
    • Leaderboard table
  • Oct 25

    • Add players, begin work on scoring
  • Oct 23

    • Continue working on unwind game -> game over segue
  • Oct 21

    • Work on segue unwind
  • Oct 18

    • Continue working on Game Over scene
  • Oct 16

    • Add basic start screen with button
    • Fix full screen presentation in game after segue from start screen
  • Oct 14

    • Continue with pool project
    • Add player class, instantiate player 1 and 2
  • Oct 12-13

    • Refactor
    • Game reset
  • Oct 11

    • Get pockets working
    • Tweak physics
  • Oct 7

    • Sales walls and pockets based on device
    • Refactor, add colors to balls
  • Oct 6

    • Smooth out touchMoved/Ended action
  • Oct 5

    • Enable better control over ball movement and touch handling
  • Oct 4

    • switch to Pool idea instead of asteroids
  • Sept 26

    • Attempt to make a start screen
  • Sept 25

    • Add and play around with implementing buttons for Asteroids controls
  • Sept 24

    • Add initial extended SurfaceView class
    • Experiment with random shape generation
    • Experiment with physics of rock interaction

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages