Skip to content

Commit 913cffb

Browse files
authored
Merge pull request #10 from ucoruh/feature/sources
console-snake-game moved
2 parents bcf2605 + a408b4d commit 913cffb

File tree

6 files changed

+1101
-1
lines changed

6 files changed

+1101
-1
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2015 Matthew Vlietstra
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
22+
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Console Snake Game
2+
3+
## Description
4+
5+
A console snake game that can (or should) work in linux & windows environments.
6+
This was created in my first year at Murdoch University, Perth Western Australia.
7+
8+
## Compiling
9+
10+
### Linux
11+
12+
1. wget https://raw.githubusercontent.com/Contagious06/console-snake-game/master/src/snake.c
13+
2. gcc snake.c –lm –o snake.out
14+
3. chmod +x snake.out
15+
4. ./snake.out
16+
17+
### Windows
18+
19+
1. Download https://raw.githubusercontent.com/Contagious06/console-snake-game/master/src/snake.c
20+
2. bcc32 snake.c
21+
3. snake.exe
22+
23+
## Demo
24+
25+
![](http://i.imgur.com/0wHxRNZ.gif)
Loading
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
cmake_minimum_required(VERSION 3.7.2)
2+
project(Snake)
3+
add_executable(Snake snake.c)

0 commit comments

Comments
 (0)