Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

Commit

Permalink
commit card war code
Browse files Browse the repository at this point in the history
  • Loading branch information
david-torres committed May 14, 2012
1 parent 816a497 commit 806c17a
Show file tree
Hide file tree
Showing 24 changed files with 603 additions and 3 deletions.
1 change: 1 addition & 0 deletions Documents/deck.json
@@ -0,0 +1 @@
[{"value": "A", "suit": "Heart"}, {"value": "2", "suit": "Heart"}, {"value": "3", "suit": "Heart"}, {"value": "4", "suit": "Heart"}, {"value": "5", "suit": "Heart"}, {"value": "6", "suit": "Heart"}, {"value": "7", "suit": "Heart"}, {"value": "8", "suit": "Heart"}, {"value": "9", "suit": "Heart"}, {"value": "10", "suit": "Heart"}, {"value": "J", "suit": "Heart"}, {"value": "Q", "suit": "Heart"}, {"value": "K", "suit": "Heart"}, {"value": "A", "suit": "Diamond"}, {"value": "2", "suit": "Diamond"}, {"value": "3", "suit": "Diamond"}, {"value": "4", "suit": "Diamond"}, {"value": "5", "suit": "Diamond"}, {"value": "6", "suit": "Diamond"}, {"value": "7", "suit": "Diamond"}, {"value": "8", "suit": "Diamond"}, {"value": "9", "suit": "Diamond"}, {"value": "10", "suit": "Diamond"}, {"value": "J", "suit": "Diamond"}, {"value": "Q", "suit": "Diamond"}, {"value": "K", "suit": "Diamond"}, {"value": "A", "suit": "Club"}, {"value": "2", "suit": "Club"}, {"value": "3", "suit": "Club"}, {"value": "4", "suit": "Club"}, {"value": "5", "suit": "Club"}, {"value": "6", "suit": "Club"}, {"value": "7", "suit": "Club"}, {"value": "8", "suit": "Club"}, {"value": "9", "suit": "Club"}, {"value": "10", "suit": "Club"}, {"value": "J", "suit": "Club"}, {"value": "Q", "suit": "Club"}, {"value": "K", "suit": "Club"}, {"value": "A", "suit": "Spade"}, {"value": "2", "suit": "Spade"}, {"value": "3", "suit": "Spade"}, {"value": "4", "suit": "Spade"}, {"value": "5", "suit": "Spade"}, {"value": "6", "suit": "Spade"}, {"value": "7", "suit": "Spade"}, {"value": "8", "suit": "Spade"}, {"value": "9", "suit": "Spade"}, {"value": "10", "suit": "Spade"}, {"value": "J", "suit": "Spade"}, {"value": "Q", "suit": "Spade"}, {"value": "K", "suit": "Spade"}]
Binary file added Icon-72.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Icon-hdpi.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Icon-ldpi.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Icon-mdpi.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Icon@2x.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions README.md
@@ -1,4 +1,4 @@
cardwar
=======
Card War
========

This project is an implementation of the card game War. Written in Lua using the Corona SDK.
This project is an implementation of the card game [War](http://en.wikipedia.org/wiki/War_\(card_game\)). Written in Lua using the Corona SDK.
17 changes: 17 additions & 0 deletions build.settings
@@ -0,0 +1,17 @@
settings = {
orientation = {
default = 'landscapeRight'
},
ipad =
{
plist =
{
CFBundleIconFile = "Icon.png",
CFBundleIconFiles = {
"Icon.png",
"Icon@2x.png",
"Icon-72.png",
},
},
}
}
Binary file added card_back.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added card_flip.wav
Binary file not shown.
Binary file added club.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions config.lua
@@ -0,0 +1,11 @@
application = {
content = {
height = 1024,
width = 768,
fps = 60,
imageSuffix =
{
['-hd'] = 2,
}
}
}
Binary file added diamond.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 806c17a

Please sign in to comment.