Welcome to Swiftris. Here you will find the content from Bloc's original Swiftris book. Each checkpoint corresponds to a markdown file found within this repository. The completed version of Swiftris is available on GitHub as well.
This is an educational resource meant for all, feel free to share it with those who have little to no programming experience.
Bloc is a programming bootcamp whose students attend from the comfort of their homes and at less than half the price of Bloc's conventional competitors. Bloc pairs its students with professional mentors. Our mentors are active developers who pair-program with, and instruct our apprentices in the nuances of software development.
Bloc is the perfect combination of top quality resources and one-to-one mentorship. Bloc instructs in Full stack, Front end, iOS and Android development. Bloc also offers a UX design course.
Name | File | Description |
---|---|---|
Introduction To Swiftris | 00-introduction-to-swiftris.md |
Introduces readers to the Swiftris project and prompts them to install the latest version of Xcode 6 Beta |
Creating a New Game Project | 01-creating-a-new-game-project.md |
Create a basic 2d game project as provided by Xcode |
Adding Assets | 02-adding-assets.md |
Import the assets required for Swiftrs: images, sounds, icons |
And Array We Go | 03-array-we-go.md |
Create the custom 2D array class which will maintain Swiftris' game board |
A Ticking Clock | 04-a-ticking-clock.md |
Add the logic for tracking the time between each of the shape's descents |
Block Party | 05-block-party.md |
Build the class which will represent each individual square block on the board |
Shaping Up | 06-shaping-up.md |
Create the class responsible for arranging blocks into Tetromino shapes |
Let Them Fall | 07-let-them-fall.md |
Add the logic required to support the descent of an active Shape object |
Playing by the Rules | 08-playing-by-the-rules.md |
Introduce a significant portion of Swiftris' game logic |
Touch Me, Move Me | 09-touch-me-move-me.md |
Add gesture detection to Swiftris, permit user control |
Adding Flair | 10-adding-flair.md |
Add fanciful animations and visual elements for displaying the player's level and score |
If you've enjoyed Swiftris and hunger for more, check out our other Bloc Books:
- Jottly
Jottly is a guide in building your first website using the Skeleton framework - BlocJams
BlocJams is a responsive webpage built entirely using the Webflow framework