Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,18 @@ jobs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v2
- name: Build app for release
run: msbuild -t:build -property:Configuration=Release -property:Platform=x64
- name: TICS Action Run
uses: tiobe/tics-github-action@main
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
TICSAUTHTOKEN: 'MmQ0NTRjZmEtZTY0ZC00N2NiLWI0M2YtYzgxOWY2MzEyNGUyOk54LE4vcG9ZKFp7TFlzWg'
uses: tiobe/tics-github-action@v3
with:
projectName: 'cpp-game-git'
branchName: 'trunk'
ticsConfiguration: 'https://testlab.tiobe.com/tiobeweb/testlab/api/cfg?name=testlab_windows'
calc: 'CS,GATE'
clientToken: 'MmQ0NTRjZmEtZTY0ZC00N2NiLWI0M2YtYzgxOWY2MzEyNGUyOk54LE4vcG9ZKFp7TFlzWg'
project: 'cpp-game-git'
branchname: 'main'
ticsAuthToken: ${{secrets.TESTLAB_VIEWER}}
viewerUrl: 'https://testlab.tiobe.com/tiobeweb/testlab/api/cfg?name=default'
calc: 'CS'
installTics: true


3 changes: 3 additions & 0 deletions cpp-game-vs/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
#include <tuple>
#include <memory>

#define LOCAL_TRACE_INT(x, y) x << y

Rule::Choice Global::mapping_choice(int choice) {
std::map<int, Rule::Choice> table = {
{1, Rule::Choice::PAPER},
Expand Down Expand Up @@ -160,3 +162,4 @@ void Assets::scissor_sign() {
std::cout << "__________$" << std::endl;
}


Loading