connect4

Connect 4 Board Game
Log | Files | Refs

commit 45c7a3eb49175a5f88c87b7bd5599c369c68c0a7
Author: sej <sej@sejdt.localhost>
Date:   Fri, 27 Sep 2024 21:19:12 +0200

Initial Commit

Diffstat:
A.gitignore | 3+++
ABoard.cs | 17+++++++++++++++++
AConnect4.cs | 8++++++++
AConnect4.csproj | 10++++++++++
4 files changed, 38 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -0,0 +1,3 @@ +bin +obj +*exe diff --git a/Board.cs b/Board.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; + +public class Board { + int n; + int m; + char[,] board; + + public Board() { + + } + + public void Hello() { + Console.WriteLine( "Hello from Board" ); + } +} diff --git a/Connect4.cs b/Connect4.cs @@ -0,0 +1,8 @@ +using System; + +public class Connect4 { + public static void Main( String[] args ) { + Board board = new Board(); + board.Hello(); + } +} diff --git a/Connect4.csproj b/Connect4.csproj @@ -0,0 +1,10 @@ +<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup> + <OutputType>Exe</OutputType> + <TargetFramework>net8.0</TargetFramework> + <ImplicitUsings>enable</ImplicitUsings> + <Nullable>enable</Nullable> + </PropertyGroup> + +</Project>