{"action":"created","comment":{"url":"https://api.github.com/repos/Tahia50/TicTacToeGame/pulls/comments/64328141","id":64328141,"diff_hunk":"@@ -0,0 +1,175 @@\n+//\n+//  ViewController.swift\n+//  TicTacToe\n+//\n+//  Created by Tahia Ata on 5/16/16.\n+//  Copyright © 2016 Tahia Ata. All rights reserved.\n+//\n+\n+import UIKit\n+import QuartzCore\n+\n+class ViewController: UIViewController, UICollectionViewDelegate, UICollectionViewDataSource {\n+\n+    @IBOutlet weak var commentLabel: UILabel!\n+    @IBOutlet weak var ticCollectionView: UICollectionView!\n+    @IBOutlet weak var firstPlayerLabel: UILabel!\n+    @IBOutlet weak var secondPlayerLabel: UILabel!\n+\n+    var ticArray = [UIImage?](count: Constants.gameInfo.totalGridNumber, repeatedValue: UIImage(named:Constants.gameInfo.defaultImageName))\n+    let firstPlayer = Constants.PlayerInfo.playerOne\n+    let secondPlayer = Constants.PlayerInfo.playerTwo\n+    var firstPlayerName = Constants.PlayerInfo.firstPlayerName\n+    var secondPlayerName = Constants.PlayerInfo.secondPlayerName\n+    var currentPlayer = Constants.PlayerInfo.playerOne\n+    var count = 0\n+    var checkArray : [[Int]] = [[0, 0, 0], [0, 0, 0], [0, 0, 0]]\n+    var win = false\n+    let numberOfRowColumn = 3\n+    let ticCellIdentifier = \"TicCellIdentifier\"\n+\n+    override func viewDidLoad() {\n+        super.viewDidLoad()\n+        self.view.backgroundColor = UIColor(patternImage:UIImage(named:Constants.gameInfo.backGroundImageName)!)\n+        firstPlayerLabel.text = firstPlayerName\n+        secondPlayerLabel.text = secondPlayerName\n+        commentLabel.text = Constants.showTurn(firstPlayerName)\n+        ticCollectionView.layer.borderColor = UIColor.grayColor().CGColor\n+        ticCollectionView.layer.borderWidth = 2","path":"TicTacToe/ViewController.swift","position":38,"original_position":38,"commit_id":"e338789a764b1d2d5ec1fa94c9decb1093019620","original_commit_id":"e338789a764b1d2d5ec1fa94c9decb1093019620","user":{"login":"jannatulabeda","id":16507531,"avatar_url":"https://avatars.githubusercontent.com/u/16507531?v=3","gravatar_id":"","url":"https://api.github.com/users/jannatulabeda","html_url":"https://github.com/jannatulabeda","followers_url":"https://api.github.com/users/jannatulabeda/followers","following_url":"https://api.github.com/users/jannatulabeda/following{/other_user}","gists_url":"https://api.github.com/users/jannatulabeda/gists{/gist_id}","starred_url":"https://api.github.com/users/jannatulabeda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jannatulabeda/subscriptions","organizations_url":"https://api.github.com/users/jannatulabeda/orgs","repos_url":"https://api.github.com/users/jannatulabeda/repos","events_url":"https://api.github.com/users/jannatulabeda/events{/privacy}","received_events_url":"https://api.github.com/users/jannatulabeda/received_events","type":"User","site_admin":false},"body":"Assign CGFloat value","created_at":"2016-05-24T04:54:51Z","updated_at":"2016-05-24T04:54:51Z","html_url":"https://github.com/Tahia50/TicTacToeGame/pull/1#discussion_r64328141","pull_request_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/Tahia50/TicTacToeGame/pulls/comments/64328141"},"html":{"href":"https://github.com/Tahia50/TicTacToeGame/pull/1#discussion_r64328141"},"pull_request":{"href":"https://api.github.com/repos/Tahia50/TicTacToeGame/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/Tahia50/TicTacToeGame/pulls/1","id":70645687,"html_url":"https://github.com/Tahia50/TicTacToeGame/pull/1","diff_url":"https://github.com/Tahia50/TicTacToeGame/pull/1.diff","patch_url":"https://github.com/Tahia50/TicTacToeGame/pull/1.patch","issue_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/issues/1","number":1,"state":"open","locked":false,"title":"gamehalf","user":{"login":"Tahia50","id":15975003,"avatar_url":"https://avatars.githubusercontent.com/u/15975003?v=3","gravatar_id":"","url":"https://api.github.com/users/Tahia50","html_url":"https://github.com/Tahia50","followers_url":"https://api.github.com/users/Tahia50/followers","following_url":"https://api.github.com/users/Tahia50/following{/other_user}","gists_url":"https://api.github.com/users/Tahia50/gists{/gist_id}","starred_url":"https://api.github.com/users/Tahia50/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tahia50/subscriptions","organizations_url":"https://api.github.com/users/Tahia50/orgs","repos_url":"https://api.github.com/users/Tahia50/repos","events_url":"https://api.github.com/users/Tahia50/events{/privacy}","received_events_url":"https://api.github.com/users/Tahia50/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-19T07:08:28Z","updated_at":"2016-05-24T04:54:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1be90375d72da281ef00fe8caec765dfc7a9b1dc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/issues/1/comments","statuses_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/statuses/e338789a764b1d2d5ec1fa94c9decb1093019620","head":{"label":"Tahia50:develop","ref":"develop","sha":"e338789a764b1d2d5ec1fa94c9decb1093019620","user":{"login":"Tahia50","id":15975003,"avatar_url":"https://avatars.githubusercontent.com/u/15975003?v=3","gravatar_id":"","url":"https://api.github.com/users/Tahia50","html_url":"https://github.com/Tahia50","followers_url":"https://api.github.com/users/Tahia50/followers","following_url":"https://api.github.com/users/Tahia50/following{/other_user}","gists_url":"https://api.github.com/users/Tahia50/gists{/gist_id}","starred_url":"https://api.github.com/users/Tahia50/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tahia50/subscriptions","organizations_url":"https://api.github.com/users/Tahia50/orgs","repos_url":"https://api.github.com/users/Tahia50/repos","events_url":"https://api.github.com/users/Tahia50/events{/privacy}","received_events_url":"https://api.github.com/users/Tahia50/received_events","type":"User","site_admin":false},"repo":{"id":59182185,"name":"TicTacToeGame","full_name":"Tahia50/TicTacToeGame","owner":{"login":"Tahia50","id":15975003,"avatar_url":"https://avatars.githubusercontent.com/u/15975003?v=3","gravatar_id":"","url":"https://api.github.com/users/Tahia50","html_url":"https://github.com/Tahia50","followers_url":"https://api.github.com/users/Tahia50/followers","following_url":"https://api.github.com/users/Tahia50/following{/other_user}","gists_url":"https://api.github.com/users/Tahia50/gists{/gist_id}","starred_url":"https://api.github.com/users/Tahia50/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tahia50/subscriptions","organizations_url":"https://api.github.com/users/Tahia50/orgs","repos_url":"https://api.github.com/users/Tahia50/repos","events_url":"https://api.github.com/users/Tahia50/events{/privacy}","received_events_url":"https://api.github.com/users/Tahia50/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Tahia50/TicTacToeGame","description":"","fork":false,"url":"https://api.github.com/repos/Tahia50/TicTacToeGame","forks_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/forks","keys_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/teams","hooks_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/hooks","issue_events_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/issues/events{/number}","events_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/events","assignees_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/assignees{/user}","branches_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/branches{/branch}","tags_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/tags","blobs_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/git/refs{/sha}","trees_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/statuses/{sha}","languages_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/languages","stargazers_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/stargazers","contributors_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/contributors","subscribers_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/subscribers","subscription_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/subscription","commits_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/commits{/sha}","git_commits_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/git/commits{/sha}","comments_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/comments{/number}","issue_comment_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/issues/comments{/number}","contents_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/contents/{+path}","compare_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/merges","archive_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/downloads","issues_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/issues{/number}","pulls_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/pulls{/number}","milestones_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/milestones{/number}","notifications_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/labels{/name}","releases_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/releases{/id}","deployments_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/deployments","created_at":"2016-05-19T07:03:07Z","updated_at":"2016-05-19T07:03:07Z","pushed_at":"2016-05-24T02:48:41Z","git_url":"git://github.com/Tahia50/TicTacToeGame.git","ssh_url":"git@github.com:Tahia50/TicTacToeGame.git","clone_url":"https://github.com/Tahia50/TicTacToeGame.git","svn_url":"https://github.com/Tahia50/TicTacToeGame","homepage":null,"size":123,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Tahia50:master","ref":"master","sha":"0a3de052a94a4152aa132e8f087334ea97927f4d","user":{"login":"Tahia50","id":15975003,"avatar_url":"https://avatars.githubusercontent.com/u/15975003?v=3","gravatar_id":"","url":"https://api.github.com/users/Tahia50","html_url":"https://github.com/Tahia50","followers_url":"https://api.github.com/users/Tahia50/followers","following_url":"https://api.github.com/users/Tahia50/following{/other_user}","gists_url":"https://api.github.com/users/Tahia50/gists{/gist_id}","starred_url":"https://api.github.com/users/Tahia50/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tahia50/subscriptions","organizations_url":"https://api.github.com/users/Tahia50/orgs","repos_url":"https://api.github.com/users/Tahia50/repos","events_url":"https://api.github.com/users/Tahia50/events{/privacy}","received_events_url":"https://api.github.com/users/Tahia50/received_events","type":"User","site_admin":false},"repo":{"id":59182185,"name":"TicTacToeGame","full_name":"Tahia50/TicTacToeGame","owner":{"login":"Tahia50","id":15975003,"avatar_url":"https://avatars.githubusercontent.com/u/15975003?v=3","gravatar_id":"","url":"https://api.github.com/users/Tahia50","html_url":"https://github.com/Tahia50","followers_url":"https://api.github.com/users/Tahia50/followers","following_url":"https://api.github.com/users/Tahia50/following{/other_user}","gists_url":"https://api.github.com/users/Tahia50/gists{/gist_id}","starred_url":"https://api.github.com/users/Tahia50/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tahia50/subscriptions","organizations_url":"https://api.github.com/users/Tahia50/orgs","repos_url":"https://api.github.com/users/Tahia50/repos","events_url":"https://api.github.com/users/Tahia50/events{/privacy}","received_events_url":"https://api.github.com/users/Tahia50/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Tahia50/TicTacToeGame","description":"","fork":false,"url":"https://api.github.com/repos/Tahia50/TicTacToeGame","forks_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/forks","keys_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/teams","hooks_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/hooks","issue_events_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/issues/events{/number}","events_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/events","assignees_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/assignees{/user}","branches_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/branches{/branch}","tags_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/tags","blobs_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/git/refs{/sha}","trees_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/statuses/{sha}","languages_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/languages","stargazers_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/stargazers","contributors_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/contributors","subscribers_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/subscribers","subscription_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/subscription","commits_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/commits{/sha}","git_commits_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/git/commits{/sha}","comments_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/comments{/number}","issue_comment_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/issues/comments{/number}","contents_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/contents/{+path}","compare_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/merges","archive_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/downloads","issues_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/issues{/number}","pulls_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/pulls{/number}","milestones_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/milestones{/number}","notifications_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/labels{/name}","releases_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/releases{/id}","deployments_url":"https://api.github.com/repos/Tahia50/TicTacToeGame/deployments","created_at":"2016-05-19T07:03:07Z","updated_at":"2016-05-19T07:03:07Z","pushed_at":"2016-05-24T02:48:41Z","git_url":"git://github.com/Tahia50/TicTacToeGame.git","ssh_url":"git@github.com:Tahia50/TicTacToeGame.git","clone_url":"https://github.com/Tahia50/TicTacToeGame.git","svn_url":"https://github.com/Tahia50/TicTacToeGame","homepage":null,"size":123,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Tahia50/TicTacToeGame/pulls/1"},"html":{"href":"https://github.com/Tahia50/TicTacToeGame/pull/1"},"issue":{"href":"https://api.github.com/repos/Tahia50/TicTacToeGame/issues/1"},"comments":{"href":"https://api.github.com/repos/Tahia50/TicTacToeGame/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Tahia50/TicTacToeGame/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Tahia50/TicTacToeGame/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Tahia50/TicTacToeGame/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Tahia50/TicTacToeGame/statuses/e338789a764b1d2d5ec1fa94c9decb1093019620"}}}}
{"actor":{"display_login":"jannatulabeda"}}