Skip to content

Instantly share code, notes, and snippets.

@xcf-t
xcf-t / TicTacToe.java
Created September 7, 2022 22:29
Efficient winCheck for a TicTacToe board
class Test {
private int[][] board = {{0,0,0}, {0,0,0}, {0,0,0}};
public enum GameBoardStateProgress {
WIN_1,
WIN_2,
DRAW,
INDETERMINATE
}

Keybase proof

I hereby claim:

  • I am xcf-t on github.
  • I am xcf_t (https://keybase.io/xcf_t) on keybase.
  • I have a public key ASAAENqoJyps5yaJca-RYsx34jFlZBjDpiNX6Si109Fc-wo

To claim this, I am signing this object:

@xcf-t
xcf-t / custom.css
Created October 25, 2019 15:01
SwaggerUI Dark Theme
html {background-color: #212121}
svg {fill: #FFF!important}
.swagger-ui {background-color: #212121}
.swagger-ui .info .title {color: #EFEFEF}
.swagger-ui .info .base-url {color: #EFEFEF}
.swagger-ui .info p {color: #EFEFEF}
.swagger-ui .scheme-container {background-color: #333}
.swagger-ui .scheme-container .schemes > label {color: #EFEFEF}
.swagger-ui a {color: #EFEFEF!important}