ArticlesBlog

2019-12-20 (VOD) Add a load game from file – Project Blind2021

2019-12-20 (VOD) Add a load game from file – Project Blind2021


Bonjour hi welcome to this recorded
live session from twitch it will be a very long video that’s why I put
timestamp in the description so you could skip to the part that interests
you also if you want exactly when I’m
streaming go visit twitch.tv/fboucheros but for now let’s watch this
session borrow hi welcome to the stream welcome everybody I’m Frank Boucher your
host and for the next two hours guess what it’s Friday so I don’t have that
soundtrack it’s Friday front but for the next two hours we’ll have a lot of fun
because we’ll be coding on the project blind 2021 that text-based adventure
game that I started to work with you very simple just kind of having fun
right now we’re at the basic but we’re reaching a point where soon we’ll be
able to add AI and really funky stuff in the the game what can I say let’s get
started so let me share my screen I was just creating a new task for you
guys because and that’s this task here I will be super well we’ll talk about it
later when more people are are there but uh I have a task for you I need your
help so we’ll get back to it so right now
what I want to do is let me just quickly show the project so the project in it’s
in available in github it’s named project over in get up because it was
created by given Griffin and I renamed it kind of hijack the project rename it
blind 20:21 because it’s a like in that game
you’re blind and you have got Google glasses goggles that will talk to you
and explain to you what they see in everything and those goggles will have
some kind of personality but that will work on that when we’ll be adding the AI
part right now we are more at the core functionality so you know navigation we
have now navigation is kind of not bad we can interact a little bit with the
end like different rooms take an object and then the status of the room change
do you have an inventory rooms have also an inventory and last stream we did use
database so far now I’m using Mongo and because I didn’t want to install one go
on my PC I let me know if the music is too loud I’m just I feel like might be to learn if it’s just for me yeah so I’m running in a docker
container and also I want to add more information in the getup project how to
get started where to get things I think I put those thoughts very quickly and
now I want like you know if would you need if you want to start the project
collaborate because I really want you to collaborate with me
and that’s where I need your help so different things you see me working a
lot in get crackin the globe board kind of a Kanban board I love that tool
so I created also an online version so I want to make it more obvious so like the
work status board is able to this link here so if you click you will see the
board there and it’s publicly available if you want to collaborate I could have
had you as a contributor on that team so you can move card and stuff like that
but read-only its settleable for everyone or it should so if it’s not
like you know now let’s talk about the game so like I said the goal of today I
have two goals I would like to be able to load a map from the file because
right now you know it’s by iteration so when we created the game there’s a room
manager and like by code we added all the rooms
I would like to extract that clean up a little bit those things and also be able
to load a map from the file we could definitely save it also yeah I think I
think loading a map from a file will be cool and the database will be used for
the save game so if you’re you know loading a save game name I’m loading a nap but that’s your outer so I’m
assuming now what I want to do like here I say load map or save game so I’m
assuming like one of the tasks how on is like load a new game kind of thing start
new game so if you start a new game then it means I’m loading from a file and if
you load a save game then I’m going to the database so we want that dialogue
today and I want to be able to do that and what I would like you to help me to
is create maps I will be cool I would love to see your maps in like it could
be very very interesting see what you can do it it like you know what our
character where it could travel and things like that that could be very very
funny off-course keep it PG for everyone but yeah like it’s just one file so I
think it’s pretty easy to to do it would be cool to to see what you can build so
let me show you briefly so though those this file is the note of the stream if
you’re new on the stream every stream I keep tracks of everything that is
happening not everything it’s not true Frank Bowl I though I Frank in my get up
project I have a stream project here and I keep track of all the projects by
project and also if you go in Journal you have all the stream and you can see
what you know if you go back in a different project let’s say last time we
did work on blind 2021 this is the summary but usually I put
the URL here I don’t know I forgot you have all the timestamp for different
things and if you have new followers if you
raid bunch of stuff everything is noted there so I don’t
keep track of that so sometimes it’s very useful so without further ado let’s
get started so this is our game right now today I’m are running on Windows
yeah I used to be working on Linux I want to go back in Linux but right now
I’m in between where my VMs are not running properly because they are an eye
pervy and like it’s complicated I need to change that I will get there soon
though like it doesn’t matter because I’m the project is in net core so it
runs on Linux and Windows and in fact everywhere so yeah so the game very
simple let’s start it I’m in Visual Studio code you could run it from Visual
Studio IDE if you want the full fledge and it’s very attic space game so I I
don’t have any ASCII art at the beginning that would be also a very
interesting if you have that talent or if you just want to add some kind of
cool effect do that I mean work on that during the holidays but honestly I think
I will try to usually the for me the holidays try to disconnect a little bit
so you know so text-based adventure games oh hey Bradley extremely loved
long there’s trees flowers and blah blah blah now you could go to the exit you
could type the full word or you could type just the first letter so let’s go
north so now we are inside Bradley’s house and if I go again south so going
out again since then we’ll see that
it’s crashing funtastic why I think I know why because I changed this let’s
stop did a quick change this morning and I
didn’t do it correctly so let’s fix that let’s start again I was poking around
yesterday evening and I did that is it running did it fail right okay so we go in and now if we go out
now we see that the description is not showing anymore because we already saw
that room so I only show the name if we want to see more we can type look and
now we have all the the description again I think L is also doing the same
thing so that’s cool so now we could go in different rooms so let’s go east and
now we have cozy living room not world there’s a mirror a flashlight and a
table and so now if we go for example inventory I think if I type let’s go
full thing and then to read now my inventory is empty so I could take the
flashlight and now the flashlight is not anymore in the room the flashlight is on
my inventory so now if I type inventory a player inventory contain a flashlight
player right now I don’t have any character creation so that’s why it’s
just player also if we say look now we see that the description of the room has
changed now there’s a table but there is no more flashlight in the description so
that thing happened also if we type X for status there’s key event that are
listed so right now the only key event I have kind of a demo right now this map
is kind of just how do you call that like a tech proof whatever so I found we
found a flashlight it’s a key event and we have what whoops 150% of the map cover pretty good
there’s something wrong there you know what let’s fix that I don’t
know why it’s not it’s like this so you know what let’s fix that I so one thing
I did yesterday just to have fun is I try to load from a savegame
and that’s probably why I’m having that err so where is my coverage it will be room
manager so here I just you know put some stuff
quickly here we’ll we’ll get to it later and go in the room coverage to
understand why map coverage I mean let’s put a breakpoint and let’s try again saw
many rooms I have four is it through one two three four
yes I have four room that’s that’s correct so let’s go next six how can you have Oh because I did
come back and home the problem is every time like right now every time I go from
a room to the other oh I had a plus one I think but that’s the problem
so where is okay so current room description so yeah
because I said look even after oh that’s that’s about that’s
a bug so let’s do if here that should fix a problem right so if
the room is like we never saw it then we saw it we visit plus one and then we
return the room if you already saw the room and you just want to look at it
then I won’t increment that we’ll just you know show you the description that
should thicker that should fix or percentage let’s try again doing demos
of the game is good catch error so let’s do a look again so now let’s go south
let’s look again and our X did I put a breakpoint yeah so for naught that’s to make sense cool
so let’s remove the breakpoint let’s remove the breakpoint here and play 50%
of the map that’s better so now if I go north and then East then
I say X and C now I don’t have any oh hey good morning return to the dust
return to dust how are you happy to see you any big plans for the holidays I should
turn off my notification bar eov excellent excellent okay so let me show you what I did change so
we can start working on something so what I did is in the room manager we are
already in the room manager i comment all that section here because i did i
hack I just want to remove all that code have family visiting we are hosting her
at her own this year oh cool ah thank you thank you
did you see the the video too yeah I took way too long to to wrote that
article it was like it was 90% done and then I needed to go to China and over
there over there it was I try to do it but like in the plane like that’s a very
long flight it’s a it was 14 hours to go in 13 to come back but you need to be
online and you know because doing the the screen caption and things like that
and like I want to evaluate my script it’s working and everything so I it took
me like forever to finish it well like it’s the same kind of story though in
the article I put a little bit more logic in it where I pass the the app
name to the to the example what I would like to have something where in the exam
oh because usually I have a suffix at the end so that I’m sure the name is
unique but then in the app when you’re trying to deploy the get up action need
to know like what’s the name that was generated so I need to add that step and
that step but at the same time I want to keep it very simple so like you know if
you if it’s your first get action or like if you’re not familiar with arm
template things are kind of smooth and easy
but in a real case scenario that would be better though yeah I’m in Montreal yeah I think so I know could be a very
you know improving that your first get up action let’s work on that I’m so
happy I I increase the size of the text for the chat and I can see everything
it’s awesome okay so I was really looking forward to move out this map
creation here write all the code I was really looking forward to remove that so
what I did yesterday was very simple I just hacked my way to the code temper
temporary just by you know serializing the room that is in fact is variables
declared on the top is just a list of room and then I put it in the file and
right now what I do is I’ll load from this file so this is the generated file
I put it in the new folder I created called data and I will be super cool and
like if you feel free like if you like um I will be happier return to dust if
like if you’re willing to create a file and do a pull request and the project I
would love to have a bunch of different maps that would be cool for like common
community Maps you know use this as an example and you could create a a little
map doesn’t need to be huge but that would be pretty cool anyway so that’s a
thing so now the plan of today is having a dialogue say hey you wanna start a new
game or load a save game if you say new game we load the map so we need to add
it probably in the settings oh maybe we could have some kind of
options so maybe in the settings we have a collections and we say oh which one
you wanna of that that could be next next thing I would like to have yeah
let’s keep it simple so for today if you say new we load from that if you say
load then we go in the database and we need to be able to load and save the
game from the database and right now the database is in its Mongo
I had a blank MongoDB so let’s get started so I think now since we have the
file we could remove that but we need to add a dialog first so not sure how we’ll
do that assuming it will be in program so here a game session and command
parser if I go in game session what happened in game session game session as a room manager so we
will load the team okay so we need to add a dollar a dialogue first and we’ll
pass probably a parameter to game session say you are load or something
like that also we should have a setting well let’s let’s add it when we get
there but yeah okay so let’s let’s close few things here that I don’t need
anymore so I think crew manager will need it game session will needed
programs definitely and we’ll keep that one open so program is it big enough in
in the screen I can put it bigger boom like I don’t like when I’m on I’m
watching a strainer like yeah what are you doing I can’t see oh I can I could
share also the code like having a live shared let’s do that it’s been a while since I I try yep so now I think this should be read only
hopefully so you could load the code in your screen if you want okay so I think
before loading this we need some kind of dialogue say hey well we should have
like you’re welcome like we should have something say welcome
what you want to do let’s let’s add like some kind of function here so right now
we are in main let’s add something yeah let’s that’s the one so let’s add let’s add an introduction function you know it needs to be a little bit
lateral hit who look okay so on okay so now what we want to do is start the
process of loading so probably and troll should return
something game-type or game mode game type right okay he created whoa just want a new
file let’s call it game type should change the namespace so now here I think
like we should check in the database or if there’s a database yeah because maybe
you’re just coding and you don’t even have a database so if you don’t have a
database and you could still play the game but like you cannot save so we
could just have something like a check the the database and I think right now I
don’t have any wrapping like in the room manager it was just yeah and even the
connection is is right there so we need also to to put that in some settings
sound like stuff to do I have there why I’m not using it work where’d that come from he did that parcel is true I’m using it
all the time we need just for that we should have a parser right let’s do it and as you can see I’ll do you again
Oh with it or okay cool so we have a savegame so now we can load the game we can have
a result okay so but we need to check great so in program now this and now
we’ll be able to do natural managed like you know if you
enter blah blah probably at the beginning and the introduction should do
a loop like until while you don’t understand something I like that make
sense animal why it’s complaining okay so now what I need to do is check
if there’s savegames if there’s a database so I need to to
load check in the settings because right now I’m not using the settings so let’s
I don’t know how to do to do that maybe it sounds silly but I don’t know I know it in web but I’m not sure with a
console application ought to do it must be very very similar though at the beginning I think that
there was nothing like you needed to load just like a file right
configuration builder when that thing was really I look like it’s the way okay let’s try let’s try that pretties is it still like that in.net do you know
chap but do we still need to add all those package manually or like now it’s
I look that way to me I wouldn’t yeah like it’s using the hey
Nick how are you yeah 5:15 PR is waiting for
you lucky you you can send me one if you
want like I was just saying at the beginning of the stream right now we
will be low like we’ll be saving and loading the map for the game from the
file from a flat file adjacent file and I will provide an example when I will
pop push that there it’s a JSON file so like anybody that would like to create a
new map for the game like feel free to do it I will be very cool I will be very
interesting oh yeah for you no no I mean PR for the
game this use that as an example and create the map you want and we’ll be
using it okay apparently I need to add another package let’s do this nope at Jason found you don’t know that’s even older than the previous one – one one everybody’s doing the same thing what I’m doing wrong well let’s go in the duck should I start
extension configuration cool okay Oh No before confirmation security that’s I don’t want to read everything it’s one word what I’m missing Jason configuration
provider adjacent file but it’s configuration
builder okay for now let’s forget about this but I would like to have some kind of a
part of today was just loading and so new game or save game okay no validation here we’re just like a you
want to start a new game or load the game cool
so here traction returned a tie game and now in this will pass the game type so let’s go in-game session will receive
a game type and now the room manager yeah I don’t have okay let’s do if the game type is load we’ll do
something right and else will do the other thing I think we should just pass the should
we because that like right now I only save the game but like I should say it’s
just because I don’t have any save game yeah not sure if that’s the good way to
do it because in room manager I think it will pass the the game type
in the room manager but if I have a save game like everything will be loaded from
the save game I don’t have a safety there is someone I mean like if if I’m
loading a new game if it’s a new game then like in game session like I will
have a new idea I will load the game from the file new inventory will be
empty list event key is empty so like it’s a brand new say it’s the new one
but if I’m loading again the game already have an idea already have a map
and everything is saving the database so this is different because what I say right now in the
database was just two rooms so my save game is not clean clean yet so let’s do that for now but we’ll need to
customize everything here let’s focus on the new for now and that will also need to be in the
settings I will need to clarify to use the settings I know there’s it’s better
than at the beginning but confuse how to use the settings should be trivial the old map is creating here or did I Adam is that creep map well here I was writing social be save
map here right yeah here should be rules equal that I’m not sure out to do it the realist how can you convert an eye Mongo
collection so I could have done that or maps praying come on and here should be save now yeah what do you think what do you think
yet everybody’s quiet today he will that to me suffer you let me suffer guys come
on what would be really really cool so I will be publishing all that code at the
end of the stream to my github repo Oh put again the URL in a chat so I’ll put
all that ting in get up and I want to add like usually in the holidays for me
it’s disconnected mode but I think I will try to add more content in the
github to make it clearer for you to use it but what I would like would love to
have you guys creating maps so I will have in the folder data of this project
a simple call rooms Jason I will be super nice if you could create your own
map like do a big map a little map I don’t care like a map put it in a folder
and I should do that right away and just do a PR I will be cool and I like on the
next stream I’ll have a bunch of maps and we could explore your maps and you
know that would be nice and it will be a bit of corporate a collaborative project
and I think right now just creating a map is kind of easy it just a JSON file
and you have some sample here with different things so what I will do here
is I will just put the map name so let’s say daddy’s house solve ready house and move
this here come on come on because it’s open maybe oh because I create a file no I don’t
want a file delete create a folder there it is now I create this excellent nope
it’s not in moving yes excellent so you create that and you could had
your map also like if you want like on paper like you know draw a picture of
the map if you want so like you could have a bunch of files and yeah that
would be cool and then when we have some app settings configure we could just
change that or even just having something that loads all the maps and
say hey what not do you know load that would be cool so right now I should
change my thing here in room manager because now it’s not loading from the
good path so I need to change it for now Hey riding with okay wow that’s cool
let’s sway a little bit well welcome fr 33 means welcome on a stream welcome
of the with all your 14 followers are excellent so welcome everyone free man
free man oh yeah free man you’re right excellent well welcome to the stream
like a that’s excellent let’s me compounds so Hippolytus cross a
set X Ella so I speak English but I very I’m fluent
not fluent but yeah I’m fluent in fluid bilingual let’s say that that way blue yes I’m from Quebec acapella France a
song called exa may allah azza repelled book with Momo I was just saying that I
could speak French but then I will last a lot of you guys I will stay in English
but you know if you’re uncomfortable asking a question in English rather than
French in the chat and I will I will do it that way
thanks fine I just miss the following so thanks for the follow or free men thanks
for the follow thanks for the read there are the raid online thank thanks for the
follow Sylvain 62 thanks for the follow it’s about yes 10:30 in the morning
that’s my firm I’m a morning guy so that’s my treat of the week that’s I’m
working in a text-based adventure game and let you know since you’re new let me
do a quick tour of the the project so it is a project it’s available in get up so
that’s the project it’s called the project name in github is project over
because it was created by Kevin Griffin he started the project work maybe two
hours on it and then like didn’t have the time to work on it so I kind of take
that project and I’m working from my branch and I renamed it blind 2021
because the goal is to have it’s a text-based adventure game you know all
game I will do a quick demo just after if we have something that works because
we might be in the middle of something but your explore right now the map I
have is a house and that’s the house of one of the p.m. on the net core so you
you you walk in the in the house and you you can you know have some interaction
with the maps and stuff like that but you’re blind
so eventually because we’re now there yet you have some glasses like
although lens or something like that smart glasses I will talk to you and
will had some AI in the glasses so I want to add some air
AI so even like if you say take the flashlight or grabbed the flashlight or
take the light you know whatever the glasses the game will understand what
you mean and act accordingly and also if it’s the first the third time you ask
hey what the room looks like your glasses will have you know that was come
on like it’s been three times I’m telling you like you know what it is or
something like that you know I want to add some personality in those goggles so
that’s the plan of it we had a few things in the project so if I can run
the game I think let me just put this because I just changed the path and I
know I saw some activity in the chat I just want to finish the tour and I wall
then read the chat because I like to stay up to date with you guys so what
was there again the name of my bread is home I think right daddy’s house daddy’s
house so hopefully everything works robert table welcome c-sharp excelent i
maybe then the wolf wolf II wanna wolf if you can help me because earlier was
trying to to have some settings and app settings and I I like I know things
evolved and it was like I I quickly searched I know I Google with Bing I
being with Google and I I didn’t like I don’t know like for me it was not simple
to because this is a console application I’m more used to do web stuff so I
couldn’t have the same thing so that’s why right now I have the string here and
even like everything is hard-coded like the connection string to the database in
a docker container mr. Robert Abel you can be proud of me I didn’t want to
install MongoDB so I put it in a docker container mm-hmm I did that but right
now it’s not running and I I don’t want like if people want to play the game I
want them to be able to play but then they won’t be able to save it because
the games save in a database because eventually I want to put that game in
the cloud of course you know on the cloud guy are so I want multiple save
game and and everything but now we are just at the beginning so Chat Chat Chat well see you mr. Freeman see you later
thanks for the rain all the reason why I’m using vs Co
that’s the next time questions Thanks yeah if sorry I’m sure I’m killing your
name the reason why I’m running in vs code instead of the Visual Studio IDE
it’s just because when I started that project I was on Linux and right now I’m
on Windows but it’s temporary I like to walk the talk and use Linux to
validate and feel the pain of any tool or UI that is not working correctly and
I like clinics but right now my Linux VM is an eye Purvi and the tool I was using
to Remote Desktop in it like that with my clipboards and everything and the
stretching is not working very well and I don’t work in wound – that was working
in another distro so that’s why but the project itself you could open it in
Visual Studio IDE there’s a solution in the project where is it where it is
solution here project over you can see that right here in my head so project
over solution it’s there when Kevin created the project he created with the
big visual that deploy officials do ide so it should be flawless for everyone yes darker and this is water I already
have a big cafe latte this morning yeah so it working both so let’s let’s
see if I didn’t broke everything and let’s try to run the game so I will show
you what we have right now but apparently oh yeah so we’re working this morning I’m just
trying to hack my way now so I was trying today to add some
savegame so that’s why I’m working and right now the plan is and you know like
since now we are 20 on the chat let me really say it again let’s put it that
way like there’s another word iteration it let’s reiterate not sure how to say
that in English like if it’s a new game when you start
the game the game should ask you now you wanna play a new game or you wanna start
again if you say new it will load the game from adjacent file that’s the JSON
file and it’s here in data and then you have a folder with your maps name and
inside you have rooms that JSON or whatever file will well standardized
that later but I would like you if you’re interested to create a map and do
a PR I will be super cool and on the next stream I will be able to you know
switch map and and things like that that would be very nice right now it’s just a
quick demo I put together so and sorry for the dog that is barking but yeah
that would be cool like I would love to have maps from you guys what’s dear give me just one sec busy to
say to bunch of questions okay so yeah water but yeah yeah 10:30 no no I don’t
think the game was intend to be multiplayer
I just wanted in the cloud so everybody can play without having to install
anything that’s why I want to put in the cloud and it doesn’t need to I think
maybe we’ll have like multiple kind of deployment like like every like right
now it’s a console application so I put it whatever I want
oh yeah the map is black right just data yeah it’s just text such a JSON document
right now that’s the map and that’s why I put the fault like that’s why I create
in the structure in the data that’s why I put a structure right now is Brad his
house because that’s the name of what like it was just kidding when the first
map was grading by Kevin he created like two rooms
I had it more and Brad II was is a p.m. of that net ending was on the chat on
the stream when Kevin was working on that and like it was just you know
kidding having fun teasing his buddy so that’s why but now why I was not working
I didn’t tweet so did I do a typo or something daddy’s
house hey thanks for the following Bruno cop we know let’s put back this problem was achieve
that’s fine so why was not working okay because it needs to be static okay but then if I do this you will complain
that the other thing is not introduction why should I anat check reference is required for the
non-static film in turn property program introduction because the method
introduction is not static oh yeah of course hey he’ll Bruno oh yeah but the
subscription was I didn’t even know you were watching a stream I just saw the
notification because you subscribe and it’s on YouTube oh cool it’s working so
this is like this is the new experience guys so when you start the game you have
this here so welcome to blind 2021 and now it’s asking you what you want to do
like start a new game or a low to save game so right now we should only select
new game because we didn’t implement the rest so lets you could type a new N or
one so let’s put one and it’s working cool so outside buy it so now what it
did it did load from the file and if we like the plan is when you type – aw
reload the game then we’ll go in the database but since I just add the
database last time it was my first time with MongoDB I did like just pick the
rooms but not like the full game setup so I don’t have your inventory and stuff
like that so we need to work on that maybe not today because I see the time
fly and and yeah I need I have a very hard break in 15 minutes or like 16
minutes yes it’s a it’s C sure it’s C sharp oh I use MongoDB right now because it
was a JSON document that was using and for me also I was to try different
things I like to try like I like to go outside my comfort zone doing that code
now and try to it’s been a while since I did like real project it’s a lot of
proof-of-concept I’m doing so like going in the flying details it’s a good for me
to get back to the code and learn more I didn’t know Mungo I wanted to learn one
go for a while so that’s why I use Mongo JSON document that I was good and if I
go in the cloud I could still use Mongo in a container as a service or switch to
custom ODB on Azure that was the plan well like I’m not using the cloud right
now like everything is local the container though is not working if I’m
not mistaking yeah there’s nothing that works sorry okay so that’s we are in the
the rooms the starting room so Brad is extremely lovely home blah blah blah so
now we can go north so if we go north we could type north or we could type just
em and now we are inside the house and we have the description and now there’s
three exits out east and west if we go south we go back where we come from so
let’s go there just to show you something and I’ll see it’s outside
Randy’s house but we don’t see the description anymore and that’s one
feature so the room you’ve seen the room and if you want to know again the
description you could type look and now we have the description so let’s go back
in North and now let’s go east for fun so now we are in a nice cozy living room
and on the north wall north wall there’s a mirror and there’s a flashlight and a
table in the middle of the room so now what we can do is take the flashlight so
that’s one action we add so take flashlight so now the flashlight is removed from
the living room and it’s add in the player inventory so now we have
something I could show inventory and our player inventory contain the flashlight
so I have the flashlight in my inventory and now if I do look again to see the
description we could see that the description is different see here it was
a mirror and a table in a room in here it was a flashlight on a table so now
the description of the room has changed because you interact with it
so we implement that a little while ago another thing that we implement is the
status I’m not sure like I know it X but I think it’s status let’s put X because I don’t remember
exactly so when you type X I should check in the command to know exactly
what like all the commands and we should have something that lists also the
comments so there’s a summary so we have what I called key event so key event or
I don’t like you beat the bus you find the key or like you know the key event
in the game so right now I have only one M it’s you found the flashlight so
that’s the list of our summary oh yeah because I want to use the key event to
summarize the game so when you start the game
I want the game tell you oh so you find a flashlight you cover this area you did
that you did this you’re there I want the game to tell you a summary a little
bit when you were while watching a TV show they say in the previous episode
and you have like a very condensed summary on the game to build that
summary based on the key event so that’s why I add key event and then like I had a map coverage so
you’ve seen 65% of the map and you are in the living room so that’s what we
have right now and I to quit you go quit so what do you think
Chet this is a good game do you think you could do a map it’s a beginning we
work only a few hours on that so just for fun so let’s see what was the
commands for if I go in come in come in parser awesome Murray yeah why status summary
is to get the summary cool yeah I will publish the code in a few
minutes in fact I should start wrapping up my stuff so let’s let’s do that
but yeah so feel free I will be like super trill if someone can create maps
that will be so cool and I think it’s not complicated like you can see let’s
have a look today the object so I know a room like
an apse is a collection of room rooms sorry there’s an ID there’s a name so
that’s the thing that will be displayed all the time
the description is the the first time I’m displaying the the room I will show
that the potential description that’s I think so potential description is when
you interact then they will have trigger and will for example here when you take
an item that will be that will trigger the thing so here when you take the
flashlight that will trigger the no flashlight so the trigger will go and
put on channel description and change the current description for the
potential description matching that trigger exit it’s kind of you you
specify Direction target room if it’s lockable or if it’s luck right now I
didn’t implement anything yet to manage that so right now if you if you would
like to have a lock room and we need to find the key or something like that
right now we’ll be able to enter in the the room I don’t think we implement
anything yet to lock the room so you cannot enter but that’s the thing we
need to add also if the room has items in it so the room have an inventory in
Inventor has a name so you could enter the name
you Walt and then you enter a bunch of items items are again a name description
has seen description but it should be false could have triggers for key event
and stuff like that eventually we’ll have more two rooms and
items like status or condition so I don’t know like maybe you find a
flashlight but there’s no battery or maybe you broke something or Illinois
will have more but we’re just at the beginning and it’s my first game so I’m
learning so it feel free to suggest shut the little to do some suggestions if you
think you have better ideas hey copper birdie how are you my friend copper copper birdie you just need to do
it I’m accepting PR you know that right okay so let’s push that and I think we
could I think oh you know what I will need to keep it in the ad MongoDB though
so I will push it so let’s do here so by the way there’s a I’m using get crackin
Kanban board and like there’s a like on the get up project there’s a board there
you can see what we are working on and stuff like that so right now we are
still working on the save system because right now I save the room but I don’t
save the game so that’s why we’ll keep it in that branch I was paying my
subscription but now I’m an ambassador of get crackin so they provide me a
license and I when I they gave me one license I say you know what I already
pay for my license let me give it back that license to my community and they
told me you know what will provide you another subscription so you could give
away the subscription to someone in your community
but use our subscription so I don’t pay right now for the get crackin stuff but
I still have like one year of subscription that is already paid
because I like that tool and like I think if you are working on open source
project it’s free if you are student it’s super cheap or like it there’s a
program I think a copper birdie you’re aware of that you always remember me
that problem student program it’s not very expensive
then what so push there it is like to me so the map if you want to have an example
of the map it’s in there so like I say if you want to create a map I would be
super happy just add a folder inside the folder data give it a name like if it’s
the castle of Wolfenstein if it’s the park of a yellow knife whatever you want
and put a JSON file that respect the same schema I didn’t have yet a schema
will build that maybe later to help or like maybe we’ll have like a map
designer or something but yeah so just you need to do that yeah Wolfenstein I
was a cool game but then Oh like did you play the first one or the new one if you
play the first one me you may just have me cheat your l1 and
yeah it’s nice before law at the same time as well
Finch Stein came out our I created the game on Mac and it was I was using
almost the language again hyper talk I think and it was the same idea but like
if it was for a contest and it needs to be it educational so it was the
adventure of rockets each I can see is the the guy and the exploration who’s
discovered the emmerich so I was the jacques-cartier monster and we had some
fight I was random we had some puzzle maps exploration like my kind of
labyrinth maze maze thing it was nice anyway so guys let’s find someone on a to raid
because I really like I said need to go so who’s ODB geek gamer is is right now
is available so we’ll go see see him so let me switch back to this view here
open a new file run the credits so again thank you all for joining me today this
morning at least for me I think it it’s probably the my last stream of the week
of the year because during the holiday I tend to go offline no tech just read
chill see the family the real people but uh I don’t know but I think yeah I think
it’s it will be the last stream of the year but coming back next year with your
maps I’m expecting a bunch of PRS have fun and you know what see you on next
year papaya you

Comment here