forked from ItsShunya/Dominoes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
de9527a
commit e7e4976
Showing
30 changed files
with
675 additions
and
623 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
PROJECT = dominoes | ||
CC = gcc | ||
CFLAGS = -Wall | ||
LDFLAGS = -s | ||
PREFIX = /usr/local | ||
SRCS = src | ||
INSTALL = install | ||
RM = rm -f | ||
|
||
.PHONY: all clean install | ||
|
||
all: $(PROJECT) | ||
|
||
$(PROJECT): $(SRCS)/game.c $(SRCS)/main.c $(SRCS)/move.c $(SRCS)/player.c $(SRCS)/questions.c $(SRCS)/random.c $(SRCS)/sleep.c $(SRCS)/stack.c $(SRCS)/table.c $(SRCS)/tile.c | ||
$(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS) | ||
|
||
clean: | ||
$(RM) $(PROJECT) $(PROJECT).exe | ||
|
||
install: $(PROJECT) | ||
$(INSTALL) -d $(PREFIX)/games | ||
$(INSTALL) -m 0755 $(PROJECT) $(PREFIX)/games | ||
$(INSTALL) -d $(PREFIX)/share/doc/$(PROJECT) | ||
$(INSTALL) -m 0644 LICENSE README.md $(PREFIX)/share/doc/$(PROJECT) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,28 @@ | ||
![GitHub release (latest by date)](https://img.shields.io/github/v/release/World-of-Domino/dominoes) | ||
![GitHub Release Date](https://img.shields.io/github/release-date/World-of-Domino/dominoes) | ||
![GitHub repo size](https://img.shields.io/github/repo-size/World-of-Domino/dominoes) | ||
![GitHub all releases](https://img.shields.io/github/downloads/World-of-Domino/dominoes/total) | ||
![GitHub](https://img.shields.io/github/license/World-of-Domino/dominoes) | ||
|
||
# Dominoes | ||
Single-player command line dominoes game with up to three machine players. It can be played displaying 2D tiles | ||
|
||
Single-player command line dominoes game with up to three machine players. It can be played displaying 2D tiles | ||
|
||
## Board | ||
|
||
```sh | ||
===>>> HA GANADO EL J1! :/ <<<=== | ||
|
||
FINAL STATE OF THE GAME: | ||
|
||
Pila: La pila esta vacia | ||
Table: | ||
3|___ ___ ___ 0|___ ___ ___ ___ 6|___ ___ 4|___ ___ 2|___ ___ ___ ___ ___ 1|___ ___ | ||
-|3:5|5:1|1:0|-|0:2|2:4|4:3|3:6|-|6:0|0:4|-|4:5|5:2|-|2:6|6:1|1:3|3:2|2:1|-|1:4|4:6| | ||
3| 0| 6| 4| 2| 1| | ||
|
||
J0 5:5|Humano | ||
J1 Robot | ||
J2 0:3|Robot | ||
J3 0:5|5:6|Robot | ||
``` |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.