This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// UIApplication+Safari.swift | |
// DoraDora | |
// | |
// Created by Théo Arrouye on 5/12/23. | |
// | |
import SafariServices | |
import UIKit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// CharadeView.swift | |
// | |
// | |
// Created by Théo Arrouye on 9/14/22. | |
// | |
import SwiftUI | |
// MARK: Custom Clip Shape |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SwiftUI | |
import PlaygroundSupport | |
import MapKit | |
struct MapView: UIViewRepresentable { | |
var locationManager = CLLocationManager() | |
func setupManager() { | |
locationManager.desiredAccuracy = kCLLocationAccuracyBest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SwiftUI | |
import PlaygroundSupport | |
struct ToggleView: View { | |
@Binding var name: String | |
@Binding var symbolSystemName: String | |
@Binding var enabled : Bool | |
@Binding var highlightCol : UIColor | |
@Binding var expanded : Bool |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
List<Integer> puzzle; | |
float pieceSize; | |
color[] cols; | |
boolean scrambled; | |
int selected; | |
boolean won; | |
boolean menu; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
float rows = 10.0; | |
PVector tileSize; | |
boolean[][] ladders; | |
int EASYMODE = 1; | |
int HARDMODE = 2; | |
int MODE = EASYMODE; | |
int score = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int tileW, tileH; | |
int[][] tiles = new int[5][4]; | |
color[] colours = { color(0), color(0, 127, 255), color(0, 255, 127), color(255, 10, 10) }; | |
int scrollY; | |
int scrollSpeed; | |
int startingSpeed = 5; | |
int speedIncrease = 0.0075; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
color[] tileColors = { color(85,98,112), color(255,107,107), color(78,205,196), color(199,244,100), color(121,189,154,180) }; | |
int gridSize; | |
int tileSize; | |
int[] tileRadiusOptions = { 15, 90 }; | |
int tileRadiusChoice = 1; | |
boolean menu = true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Array[] tab; | |
Array[] wonBoards; | |
int player; | |
int winner; | |
color[] playerCols = { color(255, 0, 0), color(0, 0, 255) }; | |
String[] playerNames = { "x", "o" }; | |
float cw; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
float limit; | |
int scoreadd; | |
int found; | |
boolean done; | |
float startTime; | |
float totalTime; | |
String totalTimeS; | |
List<Integer> tab; |
NewerOlder