Skip to content

Commit

Permalink
bump: version 0.2.1a1 → 0.2.1b0
Browse files Browse the repository at this point in the history
  • Loading branch information
nbrugger-tgm committed Jan 22, 2021
1 parent faa41b0 commit 3f15fab
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 3 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
## v0.2.1b0 (2021-01-22)

### Fix

- pop -> peek
- add missing name mapping
- not returning game id after creation
- add missing auth tag
- authentication crash with invald game id
- NullPrt on event
- **autogen**: enable RobotPickEvent

### Feat

- implement robot picking/assignment

### Refactor

- change accessors
- **autogen**: replace wrongly generated attributes by extending

## v0.2.1a1 (2021-01-22)

### Fix
Expand Down
2 changes: 1 addition & 1 deletion cz.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"commitizen": {"name": "cz_conventional_commits", "version": "0.2.1a1", "tag_format": "v$major.$minor.$patch$prerelease", "update_changelog_on_bump": true, "version_files": ["oas/game-engine.v1.json", "README.md"]}}
{"commitizen": {"name": "cz_conventional_commits", "version": "0.2.1b0", "tag_format": "v$major.$minor.$patch$prerelease", "update_changelog_on_bump": true, "version_files": ["oas/game-engine.v1.json", "README.md"]}}
9 changes: 8 additions & 1 deletion oas/game-engine.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,14 @@
"operationId": "createGame",
"responses": {
"200": {
"description": "OK"
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GameID"
}
}
}
}
},
"description": "Creates a random game by your defined rules",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using System;
using System.ComponentModel.DataAnnotations;
using System.Reflection;
using Microsoft.AspNetCore.Mvc;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System.Collections.Generic;
using System.IO;
using System.Runtime.CompilerServices;
using System.Runtime.Intrinsics.X86;
using System.Threading;

Expand Down Expand Up @@ -46,6 +47,7 @@ public Event Pop(int player) {
/// <summary>
/// Wait for the next event
/// </summary>
[MethodImpl(MethodImplOptions.Synchronized)]
public void Await() {
Monitor.Wait(locker);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ namespace Tgm.Roborally.Server.Engine.Phases
{
public class LobbyPhase : GamePhase
{
private bool started = false;
private bool started;
protected override GamePhase Run(GameLogic game){
while (!started){
Thread.Yield();
Expand Down

0 comments on commit 3f15fab

Please sign in to comment.