ARTris is a multi-player real-time 3D AR Tetris game made with ARKit.
On the terminal:
```sh
$ git clone https://github.com/Artris/Artris-iOS-app.git
$ cd Artris-iOS-app/
$ pod install
```
Open the ARTris.xcodeproj on XCode to build the application!
- Create a Firebase project on Firebase
- Click "Add iOS app to project", this will provide a config file. It will ask for app bundle ID which can be found in the Xcode project
- Add this config file to your Xcode project root directory!
Game
Actionholds unto the direction of a swipe in a view and orientation of the device when the swipe happensBlockssetting the blocks variable triggers a chain of observers to render a new state of the gameEngineproxy for handling a new state returned by FirebaseGameViewControllerholds the configuration for anything related to the game after localizationInteractionshelper class for mapping a swipe direction on a view to a direction in the game coordinate system
GameSessionSetup
InitialSceneViewControllershows a UI for starting a game or joining an ongoing oneGameSessionListtableview showing a list of game sessions
LicencedFiles
Utitiliesutility functions and type extensions throughout the project (made by Apple)VirtualObjectARViewcustom ARSCNView (made by Apple)
Localization
LocalizationViewControllerhandles the placing of the grid for multiplayer localization
Supporting Files
Firebasehandles all communication with FirebaseGridShadowrenders a 3D or 2D grid
