Giter Site home page Giter Site logo

bobtheuberfish / chiriboga Goto Github PK

View Code? Open in Web Editor NEW
85.0 9.0 11.0 2.95 MB

Implements Netrunner in Javascript against an AI opponent

Home Page: https://chiriboga.sifnt.net.au/

License: GNU General Public License v3.0

JavaScript 95.76% HTML 0.50% CSS 0.65% PHP 2.73% Dockerfile 0.01% Go 0.36%

chiriboga's Introduction

chiriboga

Chiriboga implements the game Android: Netrunner with an AI opponent. Under GPL 3.0 license.

Implementation is Javascript and runs fully clientside. Uses these libraries: jquery, pixijs, pixi-particles, lz-string, seedrandom.

Documentation can be built using documentation.js with this command: documentation build *.js -f html -o docs

This project has evolved over time. Originally it was a command-line style implementation (an in-browser console with text commands) of a subset of the cards in the FFG Core set. The approach was very experimental with no design or end goal in mind. At one point, training a DQN (Reinforcement Learning AI) was attempted and abandoned. Later a graphical interface was developed using pixi.js, during which the System Gateway set was released. Vestigial remnants of those older stages can probably still be found in the code.

Implements all cards in Null Signal Games' System Gateway and System Update 2021 sets. Chiriboga is not endorsed by Null Signal Games.

Netrunner and Android are trademarks of Fantasy Flight Publishing, Inc. and/or Wizards of the Coast LLC. Chiriboga is not affiliated with Fantasy Flight Games or Wizards of the Coast.

...but who ordered him to wear that hat?

chiriboga's People

Contributors

bobtheuberfish avatar mikeriley avatar alexzhaohong avatar

Stargazers

Russel Porosky avatar  avatar Sujay Tadwalkar avatar  avatar Matt Gauger avatar Ben Avermate avatar  avatar Guy Bianco IV avatar  avatar  avatar Adam Partridge avatar J. Barrett Coats avatar Micah avatar Matthew Murphy avatar dahell avatar Dylan Cairns avatar Sidney Widmer avatar HacksBugsAndRockAndRoll avatar Mike Cluck avatar Jacob avatar  avatar Steve Teo avatar Jeff Stice-Hall avatar Samuel Ludwig avatar Marcio Macedo avatar Piotr Limanowski avatar András Kelemen  avatar zh4ck avatar  avatar Weaver Marquez avatar arc0re avatar  avatar Nobody Needs to know currently avatar Eric Phetteplace avatar  avatar  avatar Sergio Borghese avatar Carlos B avatar Shane Michael Mathews (Personal Account) avatar Gabriel Parmer avatar Stinni Ragneyjarson avatar Erik Svedäng avatar  avatar  avatar Olivier avatar Eduardo Bellido Bellido avatar Noah avatar Foo Yong Jie avatar Lemoney avatar Alan LeMaster avatar Arran France avatar Josh Wolf avatar Pietro Benati Carrara avatar Christian Nicolai avatar Reza (Pouya) Rostam avatar  avatar Aaron avatar Micheál Keane avatar Andre Luiz Bellon avatar Loïc Guglielmino avatar  avatar  avatar  avatar  avatar Pierre Haufe avatar Maël Brunet avatar  avatar John avatar Dennis Parussini avatar Rev Dan Catt avatar Andrew Blyth avatar  avatar Maciej Kwidziński avatar Chris Montgomery avatar Brogan avatar  avatar Lukasz D avatar  avatar Cadence Ember avatar Daniel Zhou avatar Piotr Woloszun avatar Joris Bontje avatar Marc Kubischta avatar Lucien Pereira avatar

Watchers

 avatar  avatar Lucien Pereira avatar Christian Nicolai avatar  avatar Tomasz Boboli avatar Jacob avatar Ben Avermate avatar  avatar

chiriboga's Issues

How can I host my own Chiriboga?

First and foremost, thank you for Chiriboga!

Now it's not really an issue with the game itself, but I want to try some stuff and maybe even be able to play even without internet connection. Tried downloading and running it myself, but it looks like the resources are missing, so I can't even load a game. What can I do?

Cleaver vs Bran 1.0 interaction

Hi there. Love this and wish I had had this years ago. One thing though, it seems in a couple games I’ve played now Cleaver is paying for each barrier subroutine, not one for up to two per the card. I noticed this when bypassing Bran 1.0, where Cleaver pays 3 rather than two. It happens fast so I could be mistaken. Also playing on iOS if that matters. I tried to attach it but it imported the whole file as text below. Thanks again.

Game begins
PixiJS 4.7.0 - WebGL - http://www.pixijs.com/
[The Catalyst,2 Cleaver,2 Tread Lightly,1 Docklands Pass,1 Pennyshaver,2 Carmen,1 Red Team,2 Creative Commission,2 VRcation,2 Unity,2 Telework Contract,3 Jailbreak,2 Overclock,3 Sure Gamble,2 Mayfly,2 Smartware Distributor,1 Verbal Plasticity]
[The Syndicate,2 Nico Campaign,2 Brân 1.0,2 Seamless Launch,1 Manegarm Skunkworks,2 Urtica Cipher,2 Diviner,2 Karunā,2 Government Subsidy,3 Offworld Office,2 Send a Message,2 Superconducting Hub,2 Regolith Mining License,3 Palisade,2 Tithe,2 Whitespace,3 Hedge Fund]
Decks shuffled
Each player has taken five credits and drawn five cards
AI: This hand will do
Corp chose to keep
Runner chose to keep
SPOILER: At start of Corp turn:
SPOILER: Corp has 5 credit(s) and 5 card(s) in hand: [Seamless Launch,Diviner,Whitespace,Superconducting Hub,Urtica Cipher]
SPOILER: Runner has 5 credit(s), 0 tag(s) and 5 card(s) in hand: [Sure Gamble,Smartware Distributor,Red Team,Mayfly,Creative Commission]
Corp drew a card
AI: Server protection scores: {HQ:-0.5,RnD:0,null:1,archives:3}
AI: Nothing to advance
AI: Scoring windows: []
AI: a relevant preference has been set
Corp spent one click
Corp installed ice protecting HQ
AI: Server protection scores: {HQ:3,RnD:0,null:1,archives:3}
AI: Nothing to advance
AI: Scoring windows: []
AI: a relevant preference has been set
Corp spent one click
Corp installed ice protecting R&D
AI: Server protection scores: {HQ:2,RnD:4.5,null:1,archives:3}
AI: Nothing to advance
AI: Scoring windows: []
AI: No obvious install options
AI: No obvious economy option
AI: Not sure what to do
AI: Maybe could draw an economy card?
AI: But no I don't want to draw right now
AI: Nothing good to do...
Corp spent one click
Corp gained one credit
SPOILER: At start of Runner turn:
SPOILER: Corp has 6 credit(s) and 4 card(s) in hand: [Superconducting Hub,Send a Message,Seamless Launch,Urtica Cipher]
SPOILER: Runner has 5 credit(s), 0 tag(s) and 5 card(s) in hand: [Sure Gamble,Smartware Distributor,Red Team,Mayfly,Creative Commission]
Runner spent one click
Runner spent 5 credits
Played Sure Gamble
Runner gained 9 credits
Runner spent one click
Runner installed Smartware Distributor
Runner spent one click
Runner spent 5 credits
Runner installed Red Team
12 credits loaded onto Red Team
Runner spent one click
Runner spent one credit
Played Creative Commission
Runner gained 5 credits
Runner lost no clicks
SPOILER: At start of Corp turn:
SPOILER: Corp has 6 credit(s) and 4 card(s) in hand: [Superconducting Hub,Send a Message,Seamless Launch,Urtica Cipher]
SPOILER: Runner has 8 credit(s), 0 tag(s) and 1 card(s) in hand: [Mayfly]
Corp drew a card
AI: Server protection scores: {HQ:3,RnD:4.5,null:1,archives:3}
AI: Nothing to advance
AI: Scoring windows: []
AI: No obvious install options
AI: No obvious economy option
AI: Scoring windows: []
AI: Scoring windows: []
AI: Not sure what to do
AI: Hedge Fund might be good economy play?
Corp spent one click
Corp spent 5 credits
Played Hedge Fund
Corp gained 9 credits
AI: Server protection scores: {HQ:2,RnD:4.5,null:1,archives:3}
AI: Nothing to advance
AI: Scoring windows: []
AI: No obvious install options
AI: No obvious economy option
AI: Not sure what to do
AI: Maybe could draw an economy card?
Corp spent one click
Corp drew a card
AI: Server protection scores: {HQ:3,RnD:4.5,null:1,archives:3}
AI: Nothing to advance
AI: Scoring windows: []
AI: No obvious install options
AI: No obvious economy option
AI: Not sure what to do
AI: Nothing good to do...
Corp spent one click
Corp gained one credit
SPOILER: At start of Runner turn:
SPOILER: Corp has 11 credit(s) and 5 card(s) in hand: [Send a Message,Palisade,Urtica Cipher,Seamless Launch,Superconducting Hub]
SPOILER: Runner has 8 credit(s), 0 tag(s) and 1 card(s) in hand: [Mayfly]
Runner spent one click
Runner spent one credit
Runner installed Mayfly
Runner spent one click
Runner drew a card
Using Red Team:
Runner spent one click
Run initiated attacking HQ
Approaching outermost piece of ice protecting HQ
AI: I will rez the approached ice
Corp spent 2 credits
Corp rezzed Diviner
Encountering Diviner
Using Mayfly:
Runner spent one credit
Mayfly gets +1 strength
Using Mayfly:
Runner spent one credit
Mayfly gets +1 strength
Using Mayfly:
Runner spent one credit
Subroutine Do 1 net damage. If you trash a card with a printed play or install cost that is an odd number, end the run. broken
Approaching HQ
Run successful
3 credits taken from Red Team
Superconducting Hub accessed
Superconducting Hub stolen
Mayfly trashed
Using Smartware Distributor:
Runner spent one click
3 credits placed on Smartware Distributor
SPOILER: At start of Corp turn:
SPOILER: Corp has 9 credit(s) and 4 card(s) in hand: [Seamless Launch,Send a Message,Palisade,Urtica Cipher]
SPOILER: Runner has 7 credit(s), 0 tag(s) and 1 card(s) in hand: [Tread Lightly]
Corp drew a card
AI: Server protection scores: {HQ:-0.5,RnD:4.5,null:1,archives:3}
AI: Nothing to advance
AI: Scoring windows: []
AI: a relevant preference has been set
AI: phase is trash before install
AI: not helpful to trash anything right now
Corp spent one click
Corp spent one credit
Corp installed ice protecting HQ
AI: Server protection scores: {HQ:3.25,RnD:4.5,null:1,archives:3}
AI: Nothing to advance
AI: Scoring windows: []
AI: No obvious install options
AI: No obvious economy option
AI: Not sure what to do
AI: Maybe could draw an economy card?
Corp spent one click
Corp drew a card
AI: Server protection scores: {HQ:2.25,RnD:4.5,null:1,archives:3}
AI: Nothing to advance
AI: Scoring windows: []
AI: No obvious install options
AI: No obvious economy option
AI: Not sure what to do
AI: Nothing good to do...
Corp spent one click
Corp gained one credit
SPOILER: At start of Runner turn:
SPOILER: Corp has 9 credit(s) and 5 card(s) in hand: [Seamless Launch,Send a Message,Urtica Cipher,Offworld Office,Offworld Office]
SPOILER: Runner has 7 credit(s), 0 tag(s) and 1 card(s) in hand: [Tread Lightly]
1 credit taken from Smartware Distributor
Runner spent one click
Runner drew a card
Runner spent one click
Runner drew a card
Runner spent one click
Runner spent 5 credits
Runner installed Carmen
Runner spent one click
Runner spent one credit
Played VRcation
Runner drew 4 cards
Runner lost no clicks
SPOILER: At start of Corp turn:
SPOILER: Corp has 9 credit(s) and 5 card(s) in hand: [Seamless Launch,Send a Message,Urtica Cipher,Offworld Office,Offworld Office]
SPOILER: Runner has 2 credit(s), 0 tag(s) and 5 card(s) in hand: [Tread Lightly,Docklands Pass,Telework Contract,Cleaver,Tread Lightly]
Corp drew a card
AI: Server protection scores: {HQ:3.25,RnD:4.5,null:1,archives:3}
AI: Nothing to advance
AI: Scoring windows: []
AI: a relevant preference has been set
Corp spent one click
Corp installed ice protecting a remote server
AI: Server protection scores: {HQ:2.25,RnD:4.5,Remote 0:0.75,archives:3}
AI: Nothing to advance
AI: Scoring windows: []
AI: No obvious install options
AI: No obvious economy option
AI: Scoring windows: []
AI: Scoring windows: []
AI: Not sure what to do
AI: Nothing good to do...
Corp spent one click
Corp gained one credit
AI: Server protection scores: {HQ:2.25,RnD:4.5,Remote 0:0.75,archives:3}
AI: Nothing to advance
AI: Scoring windows: []
AI: No obvious install options
AI: No obvious economy option
AI: Not sure what to do
AI: Nothing good to do...
Corp spent one click
Corp gained one credit
SPOILER: At start of Runner turn:
SPOILER: Corp has 11 credit(s) and 5 card(s) in hand: [Send a Message,Offworld Office,Urtica Cipher,Seamless Launch,Offworld Office]
SPOILER: Runner has 2 credit(s), 0 tag(s) and 5 card(s) in hand: [Tread Lightly,Docklands Pass,Telework Contract,Cleaver,Tread Lightly]
1 credit taken from Smartware Distributor
Runner spent one click
Runner spent 3 credits
Runner installed Cleaver
Runner spent one click
Runner drew a card
Runner spent one click
Runner gained one credit
Runner spent one click
Runner spent one credit
Played Tread Lightly
Run initiated attacking R&D
Approaching outermost piece of ice protecting R&D
AI: I will rez the approached ice
Corp spent 5 credits
Corp rezzed Whitespace
Encountering Whitespace
Firing The Runner loses 3[c]. on Whitespace:
Runner lost no credits
Firing If the Runner has 6[c] or less, end the run. on Whitespace:
Run ended
SPOILER: At start of Corp turn:
SPOILER: Corp has 6 credit(s) and 5 card(s) in hand: [Send a Message,Offworld Office,Urtica Cipher,Seamless Launch,Offworld Office]
SPOILER: Runner has 0 credit(s), 0 tag(s) and 4 card(s) in hand: [Docklands Pass,Telework Contract,Tread Lightly,Mayfly]
Corp drew a card
AI: Server protection scores: {HQ:0.9250000000000007,RnD:3,Remote 0:0.75,archives:3}
AI: Nothing to advance
AI: Scoring windows: []
AI: a relevant preference has been set
AI: phase is trash before install
AI: not helpful to trash anything right now
Corp spent one click
Corp spent one credit
Corp installed ice protecting a remote server
AI: Server protection scores: {HQ:-0.07499999999999929,RnD:3,Remote 0:-1.3499999999999999,archives:3}
AI: Nothing to advance
AI: Scoring windows: [6.324999999999999]
AI: a relevant preference has been set
Corp spent one click
Corp installed a card in root of a remote server
AI: Server protection scores: {HQ:-1.0749999999999993,RnD:3,Remote 0:-1.3499999999999999,null:1,archives:3}
AI: Nothing to advance (can't afford it)
AI: Scoring windows: []
AI: No obvious install options
AI: I am feeling poor
AI: Maybe could draw an economy card?
AI: But no I don't want to draw right now
AI: Nothing good to do...
Corp spent one click
Corp gained one credit
SPOILER: At start of Runner turn:
SPOILER: Corp has 6 credit(s) and 4 card(s) in hand: [Seamless Launch,Offworld Office,Offworld Office,Send a Message]
SPOILER: Runner has 0 credit(s), 0 tag(s) and 4 card(s) in hand: [Docklands Pass,Telework Contract,Tread Lightly,Mayfly]
1 credit taken from Smartware Distributor
Runner spent one click
Runner spent one credit
Runner installed Telework Contract
9 credits loaded onto Telework Contract
Using Telework Contract:
Runner spent one click
3 credits taken from Telework Contract
Using Smartware Distributor:
Runner spent one click
3 credits placed on Smartware Distributor
Runner spent one click
Runner spent 2 credits
Runner installed Docklands Pass
SPOILER: At start of Corp turn:
SPOILER: Corp has 6 credit(s) and 4 card(s) in hand: [Seamless Launch,Offworld Office,Offworld Office,Send a Message]
SPOILER: Runner has 1 credit(s), 0 tag(s) and 2 card(s) in hand: [Tread Lightly,Mayfly]
Corp drew a card
AI: Server protection scores: {HQ:-3.0749999999999993,RnD:3,Remote 0:-2.3499999999999996,archives:3}
AI: Nothing to advance (can't afford it)
AI: Scoring windows: [7.625]
AI: a relevant preference has been set
[hidden card] trashed
Corp spent one click
Corp installed a card in root of a remote server
AI: Server protection scores: {HQ:-1.0749999999999993,RnD:3,Remote 0:-1.3499999999999999,null:1,archives:3}
AI: Nothing to advance (can't afford it)
AI: Scoring windows: []
AI: No obvious install options
AI: I am feeling poor
AI: Maybe could draw an economy card?
Corp spent one click
Corp drew a card
AI: Server protection scores: {HQ:-1.0749999999999993,RnD:3,Remote 0:-2.3499999999999996,null:1,archives:3}
AI: Nothing to advance (can't afford it)
AI: Scoring windows: []
AI: No obvious install options
AI: I am feeling poor
AI: Nothing good to do...
Corp spent one click
Corp gained one credit
SPOILER: At start of Runner turn:
SPOILER: Corp has 7 credit(s) and 5 card(s) in hand: [Superconducting Hub,Offworld Office,Seamless Launch,Offworld Office,Send a Message]
SPOILER: Runner has 1 credit(s), 0 tag(s) and 2 card(s) in hand: [Tread Lightly,Mayfly]
1 credit taken from Smartware Distributor
Runner spent one click
Runner drew a card
Using Telework Contract:
Runner spent one click
3 credits taken from Telework Contract
Runner spent one click
Runner spent 3 credits
Runner installed Unity
Runner spent one click
Runner spent one credit
Played Tread Lightly
Run initiated attacking Remote 0
Approaching outermost piece of ice protecting Remote 0
AI: Rez this is better than Palisade in HQ
AI: I will rez the approached ice
Corp spent 6 credits
Corp rezzed Palisade
Encountering Palisade
Firing End the run. on Palisade:
Run ended
SPOILER: At start of Corp turn:
SPOILER: Corp has 1 credit(s) and 5 card(s) in hand: [Superconducting Hub,Offworld Office,Seamless Launch,Offworld Office,Send a Message]
SPOILER: Runner has 1 credit(s), 0 tag(s) and 1 card(s) in hand: [Mayfly]
Corp drew a card
AI: Server protection scores: {HQ:-3.95,RnD:1.5,Remote 0:-2.125,null:1,archives:3}
AI: Nothing to advance (can't afford it)
AI: Scoring windows: []
AI: No obvious install options
AI: I am feeling poor
AI: Nothing good to do...
Corp spent one click
Corp gained one credit
AI: Server protection scores: {HQ:-3.95,RnD:1.5,Remote 0:-2.125,null:1,archives:3}
AI: Nothing to advance (can't afford it)
AI: Scoring windows: []
AI: No obvious install options
AI: I am feeling poor
AI: Nothing good to do...
Corp spent one click
Corp gained one credit
AI: Server protection scores: {HQ:-1.625,RnD:1.5,Remote 0:-2.125,null:1,archives:3}
AI: Nothing to advance (can't afford it)
AI: Scoring windows: []
AI: No obvious install options
AI: I am feeling poor
AI: Nothing good to do...
Corp spent one click
Corp gained one credit
AI: considering discard options...
Corp discarded [hidden card]
SPOILER: At start of Runner turn:
SPOILER: Corp has 4 credit(s) and 5 card(s) in hand: [Offworld Office,Seamless Launch,Superconducting Hub,Send a Message,Offworld Office]
SPOILER: Runner has 1 credit(s), 0 tag(s) and 1 card(s) in hand: [Mayfly]
1 credit taken from Smartware Distributor
Using Telework Contract:
Runner spent one click
3 credits taken from Telework Contract
Telework Contract trashed
Runner spent one click
Runner drew a card
Runner spent one click
Run initiated attacking Remote 0
Approaching outermost piece of ice protecting Remote 0
Encountering Palisade
Using Cleaver:
Runner spent 2 credits
Cleaver gets +1 strength
Using Cleaver:
Runner spent one credit
Subroutine End the run. broken
Approaching next piece of ice protecting Remote 0
AI: I will rez the approached ice
Corp spent one credit
Corp rezzed Tithe
Encountering Tithe
Using Carmen:
Runner spent one credit
Subroutine Do 1 net damage. broken
Firing Gain 1[c]. on Tithe:
Corp gained one credit
Approaching Remote 0
Run successful
Send a Message accessed
Send a Message stolen
You may rez 1 installed piece of ice, ignoring all costs triggered
AI: I know this one
Corp rezzed Palisade
Runner spent one click
Runner gained one credit
SPOILER: At start of Corp turn:
SPOILER: Corp has 4 credit(s) and 5 card(s) in hand: [Offworld Office,Seamless Launch,Superconducting Hub,Send a Message,Offworld Office]
SPOILER: Runner has 2 credit(s), 0 tag(s) and 2 card(s) in hand: [Mayfly,Unity]
Corp drew a card
AI: Server protection scores: {HQ:-4.4,RnD:1.5,Remote 0:0.6000000000000001,archives:3}
AI: Nothing to advance
AI: Scoring windows: []
AI: No obvious install options
AI: No obvious economy option
AI: Scoring windows: []
AI: Scoring windows: []
AI: Not sure what to do
AI: Nothing good to do...
Corp spent one click
Corp gained one credit
AI: Server protection scores: {HQ:-4.4,RnD:1.5,Remote 0:0.6000000000000001,archives:3}
AI: Nothing to advance
AI: Scoring windows: []
AI: No obvious install options
AI: No obvious economy option
AI: Scoring windows: []
AI: Scoring windows: []
AI: Not sure what to do
AI: Nothing good to do...
Corp spent one click
Corp gained one credit
AI: Server protection scores: {HQ:-4.4,RnD:1.5,Remote 0:0.6000000000000001,archives:3}
AI: Nothing to advance
AI: Scoring windows: []
AI: No obvious install options
AI: No obvious economy option
AI: Scoring windows: []
AI: Scoring windows: []
AI: Not sure what to do
AI: Nothing good to do...
Corp spent one click
Corp gained one credit
AI: considering discard options...
Corp discarded [hidden card]
SPOILER: At start of Runner turn:
SPOILER: Corp has 7 credit(s) and 5 card(s) in hand: [Offworld Office,Offworld Office,Send a Message,Superconducting Hub,Offworld Office]
SPOILER: Runner has 2 credit(s), 0 tag(s) and 2 card(s) in hand: [Mayfly,Unity]
1 credit taken from Smartware Distributor
Using Red Team:
Runner spent one click
Run initiated attacking R&D
Approaching outermost piece of ice protecting R&D
Encountering Whitespace
Using Unity:
Runner spent one credit
Subroutine The Runner loses 3[c]. broken
Using Unity:
Runner spent one credit
Subroutine If the Runner has 6[c] or less, end the run. broken
Approaching R&D
Run successful
3 credits taken from Red Team
Regolith Mining License accessed
Runner spent 3 credits
Regolith Mining License trashed
Using Smartware Distributor:
Runner spent one click
3 credits placed on Smartware Distributor
Runner spent one click
Runner drew a card
Runner spent one click
Runner drew a card
SPOILER: At start of Corp turn:
SPOILER: Corp has 7 credit(s) and 5 card(s) in hand: [Offworld Office,Offworld Office,Send a Message,Superconducting Hub,Offworld Office]
SPOILER: Runner has 1 credit(s), 0 tag(s) and 4 card(s) in hand: [Mayfly,Unity,Pennyshaver,Sure Gamble]
Corp drew a card
AI: Server protection scores: {HQ:-4.4,RnD:0.5,Remote 0:0.6000000000000001,archives:3}
AI: Nothing to advance
AI: Scoring windows: []
AI: a relevant preference has been set
AI: phase is trash before install
AI: not helpful to trash anything right now
Corp spent one click
Corp spent 2 credits
Corp installed ice protecting HQ
AI: Server protection scores: {HQ:-3.002512626584708,RnD:0.5,Remote 0:0.6000000000000001,archives:3}
AI: Nothing to advance
AI: Scoring windows: []
AI: No obvious install options
AI: No obvious economy option
AI: Scoring windows: []
AI: Scoring windows: []
AI: Not sure what to do
AI: Nothing good to do...
Corp spent one click
Corp gained one credit
AI: Server protection scores: {HQ:-3.002512626584708,RnD:0.5,Remote 0:0.6000000000000001,archives:3}
AI: Nothing to advance
AI: Scoring windows: []
AI: No obvious install options
AI: No obvious economy option
AI: Not sure what to do
AI: Nothing good to do...
Corp spent one click
Corp gained one credit
SPOILER: At start of Runner turn:
SPOILER: Corp has 7 credit(s) and 5 card(s) in hand: [Offworld Office,Offworld Office,Send a Message,Superconducting Hub,Offworld Office]
SPOILER: Runner has 1 credit(s), 0 tag(s) and 4 card(s) in hand: [Mayfly,Unity,Pennyshaver,Sure Gamble]
1 credit taken from Smartware Distributor
Using Red Team:
Runner spent one click
Run initiated attacking R&D
Approaching outermost piece of ice protecting R&D
Encountering Whitespace
Using Unity:
Runner spent one credit
Subroutine The Runner loses 3[c]. broken
Using Unity:
Runner spent one credit
Subroutine If the Runner has 6[c] or less, end the run. broken
Approaching R&D
Run successful
3 credits taken from Red Team
Brân 1.0 accessed
Runner spent one click
Runner drew a card
Runner spent one click
Runner installed Smartware Distributor
Using Smartware Distributor:
Runner spent one click
3 credits placed on Smartware Distributor
SPOILER: At start of Corp turn:
SPOILER: Corp has 7 credit(s) and 5 card(s) in hand: [Offworld Office,Offworld Office,Send a Message,Superconducting Hub,Offworld Office]
SPOILER: Runner has 3 credit(s), 0 tag(s) and 4 card(s) in hand: [Mayfly,Unity,Pennyshaver,Sure Gamble]
Corp drew a card
AI: Server protection scores: {HQ:-2.002512626584708,RnD:0.5,Remote 0:0.6000000000000001,archives:3}
AI: Nothing to advance
AI: Scoring windows: []
AI: No obvious install options
AI: No obvious economy option
AI: Scoring windows: []
AI: Scoring windows: []
AI: Oh I know, I'll install something
AI: Scoring windows: []
AI: phase is trash before install
AI: not helpful to trash anything right now
Corp spent one click
Corp spent 3 credits
Corp installed ice protecting HQ
AI: Server protection scores: {HQ:-2.9468911086754463,RnD:0.5,Remote 0:0.6000000000000001,archives:3}
AI: Nothing to advance (can't afford it)
AI: Scoring windows: []
AI: No obvious install options
AI: I am feeling poor
AI: Nothing good to do...
Corp spent one click
Corp gained one credit
AI: Server protection scores: {HQ:-2.9468911086754463,RnD:0.5,Remote 0:0.6000000000000001,archives:3}
AI: Nothing to advance (can't afford it)
AI: Scoring windows: []
AI: No obvious install options
AI: I am feeling poor
AI: Nothing good to do...
Corp spent one click
Corp gained one credit
SPOILER: At start of Runner turn:
SPOILER: Corp has 6 credit(s) and 5 card(s) in hand: [Superconducting Hub,Offworld Office,Send a Message,Offworld Office,Offworld Office]
SPOILER: Runner has 3 credit(s), 0 tag(s) and 4 card(s) in hand: [Mayfly,Unity,Pennyshaver,Sure Gamble]
1 credit taken from Smartware Distributor
1 credit taken from Smartware Distributor
Runner spent one click
Runner spent 5 credits
Played Sure Gamble
Runner gained 9 credits
Runner spent one click
Runner spent 3 credits
Runner installed Pennyshaver
Using Red Team:
Runner spent one click
Run initiated attacking R&D
Approaching outermost piece of ice protecting R&D
Encountering Whitespace
Using Unity:
Runner spent one credit
Subroutine The Runner loses 3[c]. broken
Using Unity:
Runner spent one credit
Subroutine If the Runner has 6[c] or less, end the run. broken
Approaching R&D
Run successful
1 credit placed on Pennyshaver
3 credits taken from Red Team
Red Team trashed
Palisade accessed
Runner spent one click
Runner drew a card
SPOILER: At start of Corp turn:
SPOILER: Corp has 6 credit(s) and 5 card(s) in hand: [Superconducting Hub,Offworld Office,Send a Message,Offworld Office,Offworld Office]
SPOILER: Runner has 7 credit(s), 0 tag(s) and 3 card(s) in hand: [Mayfly,Unity,Cleaver]
Corp drew a card
AI: Server protection scores: {HQ:1.1830127018922205,RnD:-0.5,Remote 0:0.6000000000000001,archives:3}
AI: Nothing to advance (can't afford it)
AI: Scoring windows: []
AI: a relevant preference has been set
AI: phase is trash before install
AI: not helpful to trash anything right now
Corp spent one click
Corp spent one credit
Corp installed ice protecting R&D
AI: Server protection scores: {HQ:-2.9468911086754463,RnD:1.875,Remote 0:0.6000000000000001,archives:3}
AI: Nothing to advance (can't afford it)
AI: Scoring windows: []
AI: No obvious install options
AI: I am feeling poor
AI: Nothing good to do...
Corp spent one click
Corp gained one credit
AI: Server protection scores: {HQ:0.18301270189222052,RnD:1.875,Remote 0:0.6000000000000001,archives:3}
AI: Nothing to advance (can't afford it)
AI: Scoring windows: []
AI: No obvious install options
AI: I am feeling poor
AI: Nothing good to do...
Corp spent one click
Corp gained one credit
SPOILER: At start of Runner turn:
SPOILER: Corp has 7 credit(s) and 5 card(s) in hand: [Offworld Office,Offworld Office,Offworld Office,Superconducting Hub,Send a Message]
SPOILER: Runner has 7 credit(s), 0 tag(s) and 3 card(s) in hand: [Mayfly,Unity,Cleaver]
1 credit taken from Smartware Distributor
1 credit taken from Smartware Distributor
Using Smartware Distributor:
Runner spent one click
3 credits placed on Smartware Distributor
Using Pennyshaver:
Runner spent one click
1 credit placed on Pennyshaver
2 credits taken from Pennyshaver
Runner spent one click
Runner drew a card
Runner spent one click
Runner spent one credit
Played Creative Commission
Runner gained 5 credits
Runner lost no clicks
SPOILER: At start of Corp turn:
SPOILER: Corp has 7 credit(s) and 5 card(s) in hand: [Offworld Office,Offworld Office,Offworld Office,Superconducting Hub,Send a Message]
SPOILER: Runner has 15 credit(s), 0 tag(s) and 3 card(s) in hand: [Mayfly,Unity,Cleaver]
Corp drew a card
AI: Server protection scores: {HQ:1.1830127018922205,RnD:1.875,Remote 0:0.6000000000000001,archives:3}
AI: Nothing to advance (can't afford it)
AI: Scoring windows: []
AI: a relevant preference has been set
Corp spent one click
Corp installed a card in root of a remote server
Corp spent 2 credits
Corp rezzed Regolith Mining License
15 credits loaded onto Regolith Mining License
AI: Server protection scores: {HQ:-2.9468911086754463,RnD:1.875,Remote 0:0.6000000000000001,null:1,archives:3}
AI: Nothing to advance (can't afford it)
AI: Scoring windows: []
AI: No obvious install options
AI: I am feeling poor
AI: a click ability could provide economy
Using Regolith Mining License:
Corp spent one click
3 credits taken from Regolith Mining License
AI: Server protection scores: {HQ:0.18301270189222052,RnD:1.875,Remote 0:0.6000000000000001,null:1,archives:3}
AI: Nothing to advance (can't afford it)
AI: Scoring windows: []
AI: No obvious install options
AI: I am feeling poor
AI: a click ability could provide economy
Using Regolith Mining License:
Corp spent one click
3 credits taken from Regolith Mining License
SPOILER: At start of Runner turn:
SPOILER: Corp has 11 credit(s) and 5 card(s) in hand: [Offworld Office,Offworld Office,Offworld Office,Send a Message,Superconducting Hub]
SPOILER: Runner has 15 credit(s), 0 tag(s) and 3 card(s) in hand: [Mayfly,Unity,Cleaver]
1 credit taken from Smartware Distributor
1 credit taken from Smartware Distributor
Runner spent one click
Run initiated attacking R&D
Approaching outermost piece of ice protecting R&D
AI: I will rez the approached ice
Corp spent 3 credits
Corp rezzed Palisade
Encountering Palisade
Using Cleaver:
Runner spent one credit
Subroutine End the run. broken
Approaching next piece of ice protecting R&D
Encountering Whitespace
Using Unity:
Runner spent one credit
Subroutine The Runner loses 3[c]. broken
Firing If the Runner has 6[c] or less, end the run. on Whitespace:
Approaching R&D
Run successful
1 credit placed on Pennyshaver
Government Subsidy accessed
Runner spent one click
Run initiated attacking HQ
Approaching outermost piece of ice protecting HQ
AI: I will rez the approached ice
Corp spent 6 credits
Corp rezzed Brân 1.0
Encountering Brân 1.0
Using Cleaver:
Runner spent 2 credits
Cleaver gets +1 strength
Using Brân 1.0:
Runner spent one click
Subroutine You may install 1 piece of ice from HQ or Archives directly inward from this ice, ignoring all costs. broken
Using Cleaver:
Runner spent 2 credits
Cleaver gets +1 strength
Using Brân 1.0:
Runner spent one click
Subroutine End the run. broken
Using Cleaver:
Runner spent 2 credits
Cleaver gets +1 strength
Using Cleaver:
Runner spent one credit
Subroutine End the run. broken
Approaching next piece of ice protecting HQ
AI: I will rez the approached ice
Corp spent 2 credits
Corp rezzed Whitespace
Encountering Whitespace
Using Unity:
Runner spent one credit
Subroutine The Runner loses 3[c]. broken
Firing If the Runner has 6[c] or less, end the run. on Whitespace:
Approaching next piece of ice protecting HQ
Encountering Palisade
Using Cleaver:
Runner spent one credit
Subroutine End the run. broken
Approaching next piece of ice protecting HQ
Encountering Diviner
Using Unity:
Runner spent one credit
Unity gets +3 strength
Using Unity:
Runner spent one credit
Subroutine Do 1 net damage. If you trash a card with a printed play or install cost that is an odd number, end the run. broken
Approaching HQ
Run successful
1 credit placed on Pennyshaver
Offworld Office accessed
Offworld Office stolen
Runner has reached 6 agenda points
Runner wins
Corp agenda points: 0
Runner agenda points: 6
R&D size: 13
Grip size: 3
Agendas were stolen from: [HQ,remote,HQ]

SPOILER: Contents of remote servers:
SPOILER: Remote 0: [Regolith Mining License]

RunnerTestField(30076, [30030,30020,30032,30021,30012,30012,30027,30030,30018,30020], [30029,30021,30015,30028,30027,30030,30028,30029,30034,30028], [30032,30026,30006], [30033,30033,30013,30014,30015,30006,30026], [30070,30069,30067], cardBackTexturesRunner,glowTextures,strengthTextures);
CorpTestField(30077, [30075,30045,30040,30040,30071], [30037,30039,30047,30047,30075,30064,30042,30073,30075,30037,30046,30045,30064], [30067,30070,30067,30069], [], [30074,30072], [30046,30072,30074,30039], [[30071,30073,30072]], [], cardBackTexturesCorp,glowTextures,strengthTextures);
runner.rig.resources[0].credits=2;
runner.rig.hardware[1].credits=2;
corp.archives.cards[0].faceUp=true;
corp.archives.cards[4].faceUp=true;
corp.RnD.ice[0].rezzed=true;
corp.RnD.ice[1].rezzed=true;
corp.HQ.ice[0].rezzed=true;
corp.HQ.ice[1].rezzed=true;
corp.HQ.ice[2].rezzed=true;
corp.HQ.ice[3].rezzed=true;
corp.remoteServers[0].root[0].rezzed=true;
corp.remoteServers[0].root[0].credits=9;
corp.remoteServers[0].root[0].AITurnsInstalled=1;
corp.remoteServers[0].ice[0].rezzed=true;
corp.remoteServers[0].ice[1].rezzed=true;
corp.remoteServers[0].AISuccessfulRuns=1;
corp.RnD.AISuccessfulRuns=4;
corp.HQ.AISuccessfulRuns=2;

Version reference: Sun May 29 2022 00:15:59 GMT-0400 (EDT)

Earthrise Hotel triggered in discard

Aesop Pawn Shop and EH both installed at the beginning of the turn.

Trigger Pawn Shop first and trash EH.

EH still triggered from discard and drawed me 2 cards :

image

image

'Longevity Serum' doesn't allow corp to trash cards from HQ.

The Jinteki faction agenda card Longevity Serum has the following text:

When you score this agenda, trash any number of cards from HQ. Shuffle up to 3 cards from Archives into R&D.

Limit 1 per deck.

The first effect of "trash any number of cards from HQ" doesn't seem to work. When scoring it, the choice of selecting cards from HQ does appear, but clicking them does nothing (it just lets you drag the cards, but you can't drag them to trash or anything). After clicking the continue button, the corp is correctly prompted to shuffle cards from Archives into R&D.

Can't break subroutines after you un-highlight the ice

I just ran into a bug where I broke one subroutine on Whitespace, then forgot if Unity cost 1 or 2 to break subs. I clicked off of the ice which reverted it back to horizontal. I could not then continue to click on subroutines to break them - whenever I mouseover'd the ice it went vertical, but when I moved my cursor up to the subs it goes back horizontal. I was able to continue by allowing the unbroken sub to fire.

Firefox 96.0.1 (64-bit)

Corp AI needs to be more tactical about which ice it rezzes

As reported by Saracenar on reddit:
"I was just playing a game and running on a server which turned out to have an agenda in it. The server was protected by two ICE, and I had a decoder and a killer in play, but the AI chose to rez a Whitespace instead of a Palisade. I assume this is because the Whitespace was the outermost ICE and the AI had enough credits at the time. Once I moved to the unrezzed Palisade it no longer had enough credits to rez it.
The Send a Message was also only advanced once. Generally the best play would to be install-advance-advance a 5/3 agenda."

Runner AI didn't follow plan

I think this might be related to the previous bug of the runner AI not following through on its plan. I am a new player and have been getting my butt kicked by the runner AI. I finally won, but the runner AI didn't finish running my remote server which I thought for sure would cause me to lose the game. This might be a little worse than the previous bug, because it could have easily broken the subroutine instead of letting it fire and it had several options besides not just following through and using all the virus counters.

chiriboga-log-2022-01-23T22_13_19.812Z.txt

Corp did not use Send a Message.

I stole Send a Message on an HQ run. AI corp did not use it.
(I would imagine it would be benefitial to rez any piece of ice, but maybe it was not.)

Issue potentially cause by Pantograph trigger on steal.

(P.S. Github does not seem to accept .json files for upload, so maybe better to save the log file as .txt)

chiriboga-log-2021-10-24T12 11 03.954Z.txt

Improvements to log for debugging (e.g. credits)

The log could be more readable, some of the verbose outputs could be summarised, and some key information could be included at the start and/or end of each turn (e.g. credits, tags, cards in hand).

Can't add Botulus when making a Zahya deck

I really enjoy your AI netrunner platform! But when trying to create a Zahya deck in the "runner deck builder" part, I can't add Botulus. Even if I copy paste it from a Loup deck in another another tab, it doesn't work..
Screenshot 2022-06-25 at 14 32 51

Bug: Public Trail, Predictive Planogram, Draw, Install

nr_bug1
chiriboga-log-2022-02-11T18 24 17.011Z.txt

Screenshot and log file do not coincide !?!? Check side bar on the screenshot. I got confused, because I had a tag in the first turn, but did not understand why. Only read the log after the game.

I believe the Corp turn 1 was: Public Trail, Predictive Planogram, Install in remote server 1

Public Trail didn't show up in the side bar and in the log file. Instead a draw action showed up.

Tāo Salonga: Telepresence Magician does not swap ICE.

"AI: I could advance a card"
"Corp spent one click"
"Corp spent one credit"
"Card advanced"
"Offworld Office scored"
"Corp gained 7 credits"
"\"Pantograph: Gain 1[c], you may install 1 card\" triggered"
"Runner gained one credit"
"Runner spent 3 credits"
"Runner installed Echelon"
"\"Tāo Salonga: Swap 2 installed pieces of ice\" triggered"
"[hidden card] in Remote 0 swapped with [hidden card] in HQ"

This is how it looks. AFAIK, Tāo works like Painter and other Shaper replacement/swap effects where it doesn't "turn one card vertical" but physically swaps the two ICE in their positions.

Zoomed card zooms in and out during AI turn

After some investigation this is complex due to things deep within the sprite/pointer code and would require significant work or potentially break other things.
Since this is not having a big game impact it is low priority.

Interface not clear that subroutines are clickable on ice

My first game was going so well! The corp knew I was gonna win before it all locked up. I had to quit the browser window.

Chiriboga_—_Mozilla_Firefox_2022-05-19_15-05-47

I thought to check the console but it looked normal

Chiriboga_—_Mozilla_Firefox_2022-05-19_15-10-15

if this happened again what can I do to help? big fun keep going!!

Hand is too low on iPhone

As reported by lunatic4ever on reddit:
"On an iphone card hand is positioned so low that when I try to click times 4/10 times I minimize the browser instead.
...
Portrait or landscape makes no difference. In both cases it’s so close to the bottom that the 2-3 leftmost cards are far too close to the „minimiz“ bar thingy on the iphone/ipad."

Game sometimes freezes on load

I suspect it is getting stuck in a loop while generating a deck. For example during
while (totalAgendaPoints < agendaMin)
An example stack is LoadDecks() in Setup() leading to DeckBuildRandomAgendas to the above

Corp AI used 5 of its 3 clicks (ending on -2)

This issue does not occur as human player executing the same moves.
The replication code is:

RunnerTestField(31013, [30030,30018], [31019,30032,30029,31008,30015,31018,30032,30007,30029,30031,30006,31015,31020,30015,31024,31027,30030,30030,31024,30016,30032,30006,31021,30017,30005,30033,30011,30033,30011,30016,30012,30017,30014,31021,30033,30007,30011,30018], [30004,30020,30013,30013,30015], [], [], cardBackTexturesRunner,glowTextures,strengthTextures);
CorpTestField(30059, [], [30073,30041,30053,30069,30039,30062,30047,30071,30069,30061,30048,30071,30073,30056,30055,30037,30068,30065,30064,30072,30065,30067,30075,30070,30074,30041,30066,30068,30061,30069,30071,30060,30045,30066,30062,30063,30075], [30070,30074], [], [30074], [30062], [[30061,30072,30073]], [], cardBackTexturesCorp,glowTextures,strengthTextures);
corp.remoteServers[0].root[0].AITurnsInstalled=3;
corp.archives.AISuccessfulRuns=2;
corp.RnD.AISuccessfulRuns=1;
corp.HQ.AISuccessfulRuns=1;
runner.creditPool = 16;
corp.creditPool = 5;
runner.clickTracker = 0;
corp.clickTracker = 0;
ChangePhase(phases.runnerEndOfTurn);

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.