-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
First release
- Loading branch information
Showing
17 changed files
with
162 additions
and
102 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
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,14 @@ | ||
language: cpp | ||
|
||
dist: xenial | ||
|
||
addons: | ||
apt: | ||
update: true | ||
|
||
before_install: | ||
- sudo apt-get install -y qt5-default | ||
|
||
script: | ||
- cmake . | ||
- make -j2 |
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,36 @@ | ||
cmake_minimum_required(VERSION 3.1...3.14) | ||
|
||
if(${CMAKE_VERSION} VERSION_LESS 3.12) | ||
cmake_policy(VERSION ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}) | ||
endif() | ||
|
||
project(QReversi) | ||
|
||
find_package(Qt5Widgets REQUIRED) | ||
|
||
set(CMAKE_CXX_STANDARD 11) | ||
|
||
set(CMAKE_INCLUDE_CURRENT_DIR ON) | ||
|
||
set(CMAKE_AUTOMOC ON) | ||
set(CMAKE_AUTOUIC ON) | ||
set(CMAKE_AUTORCC ON) | ||
|
||
set(SOURCES | ||
main.cc | ||
core/battle.cc | ||
core/gameplay.cc | ||
core/players/ai.cc | ||
core/players/human.cc | ||
core/players/virtualplayer.cc | ||
ui/mainwindow.cc | ||
ui/newgamedialog.cc | ||
ui/checkerboard/boardlayout.cc | ||
ui/checkerboard/checkerboardwidget.cc | ||
ui/checkerboard/boardgrid.cc | ||
ui/newgamedialog.ui | ||
resources.qrc | ||
) | ||
|
||
add_executable(qreversi ${SOURCES}) | ||
target_link_libraries(qreversi Qt5::Widgets) |
This file was deleted.
Oops, something went wrong.
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,5 @@ | ||
# QReversi | ||
[![Build Status](https://travis-ci.org/X1aomu/QReversi.svg)](https://travis-ci.org/X1aomu/QReversi) | ||
[![GitHub release](https://img.shields.io/github/X1aomu/QReversi.svg)](https://github.com/X1aomu/QReversi/releases) | ||
|
||
A Qt-based reversi game |
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
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
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
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
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
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 |
---|---|---|
|
@@ -5,3 +5,8 @@ VirtualPlayer::VirtualPlayer(QString name, QObject *parent) | |
{ | ||
|
||
} | ||
|
||
VirtualPlayer::~VirtualPlayer() | ||
{ | ||
|
||
} |
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
Oops, something went wrong.