Skip to content

Commit

Permalink
Renamed project to Renegade
Browse files Browse the repository at this point in the history
  • Loading branch information
pkrisz99 committed Nov 11, 2022
1 parent a1e0ca2 commit a98e854
Show file tree
Hide file tree
Showing 13 changed files with 30 additions and 38 deletions.
20 changes: 10 additions & 10 deletions Damnchess++.sln → Renegade.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.32106.194
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Damnchess++", "Damnchess++\Damnchess++.vcxproj", "{774C4417-BACB-44E1-BE50-74B251D2CA24}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Renegade", "Renegade\Renegade.vcxproj", "{DC9D6AE8-C755-4ACC-906C-6E1A927E3761}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand All @@ -13,19 +13,19 @@ Global
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{774C4417-BACB-44E1-BE50-74B251D2CA24}.Debug|x64.ActiveCfg = Debug|x64
{774C4417-BACB-44E1-BE50-74B251D2CA24}.Debug|x64.Build.0 = Debug|x64
{774C4417-BACB-44E1-BE50-74B251D2CA24}.Debug|x86.ActiveCfg = Debug|Win32
{774C4417-BACB-44E1-BE50-74B251D2CA24}.Debug|x86.Build.0 = Debug|Win32
{774C4417-BACB-44E1-BE50-74B251D2CA24}.Release|x64.ActiveCfg = Release|x64
{774C4417-BACB-44E1-BE50-74B251D2CA24}.Release|x64.Build.0 = Release|x64
{774C4417-BACB-44E1-BE50-74B251D2CA24}.Release|x86.ActiveCfg = Release|Win32
{774C4417-BACB-44E1-BE50-74B251D2CA24}.Release|x86.Build.0 = Release|Win32
{DC9D6AE8-C755-4ACC-906C-6E1A927E3761}.Debug|x64.ActiveCfg = Debug|x64
{DC9D6AE8-C755-4ACC-906C-6E1A927E3761}.Debug|x64.Build.0 = Debug|x64
{DC9D6AE8-C755-4ACC-906C-6E1A927E3761}.Debug|x86.ActiveCfg = Debug|Win32
{DC9D6AE8-C755-4ACC-906C-6E1A927E3761}.Debug|x86.Build.0 = Debug|Win32
{DC9D6AE8-C755-4ACC-906C-6E1A927E3761}.Release|x64.ActiveCfg = Release|x64
{DC9D6AE8-C755-4ACC-906C-6E1A927E3761}.Release|x64.Build.0 = Release|x64
{DC9D6AE8-C755-4ACC-906C-6E1A927E3761}.Release|x86.ActiveCfg = Release|Win32
{DC9D6AE8-C755-4ACC-906C-6E1A927E3761}.Release|x86.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {D1F6EE73-44FD-431B-B4DF-B7E4C185D8A7}
SolutionGuid = {919E3EC5-AE9C-4B00-8E29-A8139D5CFB80}
EndGlobalSection
EndGlobal
File renamed without changes.
2 changes: 1 addition & 1 deletion Damnchess++/Board.h → Renegade/Board.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
using namespace std;

/*
* This is the board representation of Damnchess.
* This is the board representation of Renegade.
* Square 0 = A1, 1 = A2 ... 8 = B1 ... 63 = H8
*/

Expand Down
12 changes: 6 additions & 6 deletions Damnchess++/Engine.cpp → Renegade/Engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ int Engine::StaticEvaluation(Board board, int level) {

// Start UCI protocol
void Engine::Start() {
cout << "Damnchess++ by Krisz, 2022 [Build: " << __DATE__ << " " << __TIME__ << "]" << endl;
cout << "Renegade chess engine [Build: " << __DATE__ << " " << __TIME__ << "]" << endl;
std::string cmd = "";
Board board = Board(starting_fen);
while (getline(cin, cmd)) {
Expand All @@ -243,8 +243,8 @@ void Engine::Start() {
if (cmd == "quit") break;

if (cmd == "uci") {
cout << "id name Damnchess" << endl;
cout << "id author Krisz" << endl;
cout << "id name Renegade" << endl;
cout << "id author Krisztian Peocz" << endl;
cout << "uciok" << endl;
continue;
}
Expand Down Expand Up @@ -343,7 +343,7 @@ void Engine::Start() {
cout << "Unknown command: '" << parts[0] << "'" << endl;

}
cout << "Damnchess UCI interface ended" << endl;
cout << "Renegade UCI interface ended" << endl;
}

void Engine::PrintInfo(Evaluation e) {
Expand All @@ -353,7 +353,7 @@ void Engine::PrintInfo(Evaluation e) {
void Engine::Play() {
Board board = Board(starting_fen);

cout << "Damnchess" << endl;
cout << "Renegade" << endl;
cout << "c - Computer, h - Human" << endl;
cout << "White player? ";
char white;
Expand Down Expand Up @@ -383,7 +383,7 @@ void Engine::Play() {
} else {
Evaluation e = Search(board, SearchParams());
board.Push(e.move);
cout << "Damnchess plays " << e.move.ToString() << endl;
cout << "Renegade plays " << e.move.ToString() << endl;
std::this_thread::sleep_for(std::chrono::milliseconds(3000));
}

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 3 additions & 7 deletions Damnchess++/Damnchess++.cpp → Renegade/Renegade.cpp
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
// Damnchess++.cpp : This file contains the 'main' function. Program execution begins and ends there.
//
#include "Board.h"
#include "Engine.h"
#include "Evaluation.h"
// Renegade chess engine
// Since 2022

#include <iostream>
#include <tuple>
#include "Engine.h"

int main() {

Expand Down
7 changes: 3 additions & 4 deletions Damnchess++/Damnchess++.vcxproj → Renegade/Renegade.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
<PropertyGroup Label="Globals">
<VCProjectVersion>16.0</VCProjectVersion>
<Keyword>Win32Proj</Keyword>
<ProjectGuid>{774c4417-bacb-44e1-be50-74b251d2ca24}</ProjectGuid>
<RootNamespace>Damnchess</RootNamespace>
<ProjectGuid>{dc9d6ae8-c755-4acc-906c-6e1a927e3761}</ProjectGuid>
<RootNamespace>Renegade</RootNamespace>
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
Expand Down Expand Up @@ -140,11 +140,10 @@
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="Board.cpp" />
<ClCompile Include="Damnchess++.cpp" />
<ClCompile Include="Engine.cpp" />
<ClCompile Include="Evaluation.cpp" />
<ClCompile Include="Move.cpp" />
<ClCompile Include="Utils.cpp" />
<ClCompile Include="Renegade.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="Board.h" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,36 +15,33 @@
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="Damnchess++.cpp">
<ClCompile Include="Renegade.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="Board.cpp">
<ClCompile Include="Move.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="Utils.cpp">
<ClCompile Include="Evaluation.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="Move.cpp">
<ClCompile Include="Board.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="Engine.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="Evaluation.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="Board.h">
<ClInclude Include="Move.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="Move.h">
<ClInclude Include="Evaluation.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="Engine.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="Evaluation.h">
<ClInclude Include="Board.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
Expand Down
File renamed without changes.

0 comments on commit a98e854

Please sign in to comment.