It’s Not Raining – Final review – “I’m Sorry ” Entry

--Originally published at That Class Blog

not
“It’s Not Raining” by B&~(B) https://creativecommons.org/licenses/by-nc-nd/4.0/

Today we officially delivered the project at the Engineering Expo. There we presented our project to some judges and fellow students. Well, usually the explanation was for the judges, and the students would come just to play the game and try to get through the last level and put their playertag in the leaderboard.
I have to say that my score will be (Or already has been) overcomed by anyone who has a just a fraction of eyes to fingers reaction. What I’m trying to say is that even after one semester of development, I’m so bad at the game… After more than 1 hour playing level 4, I surrendered, and assumed that I could go trought all the levels in 2 hours, more or less, and then I pushed my score to the DB, manually. I think I deserved to be in the leaderboard of the game, even if I couldn’t put it there usiang legal abilities.

But now, onto my kinda semester retrospective.

I feel that overall this smesterI learned a lot about WEB development using NodeJS. In my WEB Development class project I learned about front-end frameworks, back-end development and deployment, different ways to make requests to de server, implementation of MariaDB queries on the server’s routes and the delivery of JWT and local storage.

What I learned in that class was useful for me, so that I shouldn’t need to worry about how to do all of the back-end development on this project, and instead focus on enjoying  more the project, setting up Mongoose and MongoDB and designing server tests. I found out that I could really have fun doing those three new things because I didn’t worry at all for the rest of the stuff.

Mongoose and

score
Continue reading "It’s Not Raining – Final review – “I’m Sorry ” Entry"

Late and FINAL Report – Week 14

--Originally published at That Class Blog

I don’t know what to say about my new habit of making very late publication of our weekly reports (And any report in general).

This week the rest of the team primary focus was to film and deliver the final project video, and myself, I worked in the design of the project poster. The one that we needed to present at “The Engineering Expo”. I’m very proud of that poster, I think it ended up real nice 😀

13862737143_0bae044174_k
“After the rain” of Susanne Nilsoon (CC https://creativecommons.org/licenses/by-sa/2.0/). Taken from https://www.flickr.com/photos/infomastern/13862737143

I’m proud of our project. I think we worked very well and accomplished the delivery of a nicely done (And well tested) product. I’m still amazed at how bad I’m at playing it. But the doubts about myself got at ease when I saw at the expo how most of the people who played were having difficulties playing, because it is indeed, a difficult project. I guess my teammates just practiced a whole lot more when designing the levels and testing them.

See you the next time!

Miguel Montoya
Esperanto enthusiast
ʕ•ᴥ•ʔ

I leave you my poster down below.
Please, only share.

cartel
“It’s not raining” by Miguel Montoya (CC BY-NC-ND https://creativecommons.org/licenses/by-nc-nd/4.0/)

 

I kinda did a bit – End of Week 12

--Originally published at That Class Blog

8393707617_7ebef973bd_k
“IMG_0152” by clement127 (CC BY-NC-ND). From https://www.flickr.com/photos/clement127/8393707617/

Okay, so doing the stuff that Gera asked me to do took me like 10 minutes. Which isn’t much, but it was more than what I estimated. I forgot how much time it takes to move stuff in the game window. Instead of giving to coordinates and creating a square using only the diagonal, it asks for the center coordinate, a high and a width, making my space senses go uisndqne… Oh, and to take a bit of initiative, not only I increased the size of the texts, but I also updated the content and added new texts to the level.

I’ve also created and updated some DB scripts. Now we have a remove level script, and there are some comments in most of the scripts to make a more specific query to the DB.

And… yeah…

That’s all for now.

I know this blog is late, and I’m sorry ;-;

Miguel Montoya
Esperanto Enthusiast
ʕ•ᴥ•ʔ

Inmortal- End of week 11

--Originally published at That Class Blog

So this week I worked in the addition of a new enemy. This enemy is immortal, or at least to our knowledge, it is immune to bullets. This enemy is yellow (As if it was a shield), and those are the only visual differences in of the enemy. Obviously if it can’t be destroyed, it won’t give any points and thus it won’t display any text on hit.
And I would love to show here a little GIF of the enemy, but there are some sound issues that don’t let the game load (Not even an specific level). And I’m not blaming anyone, the issue only appears until devices pulled the repository, not before making the push.

5506909810_10fdcaa926_b
“No Weapons” by Julien (CC BY-NC-ND). From https://www.flickr.com/photos/djou/5506909810

My teammates worked this week in the sound system (Using p5.play, please check our README to see every framework we are using). They also worked regarding the implementation of new walls and objects (I helped a little bit on regarding the Mongoose level schema).

I just had an idea – End of week 9

--Originally published at That Class Blog

Okay, so supposedly this week we would try to come up with some new ideas for our project. Because,you know…. We kinda did all of them already.

140802535_8a43eaec59_o
“Gun-Idea” by Linus Bohman (CC BY). From https://www.flickr.com/photos/bohman/140802535/

My team came up with several ideas and changes. But what I think it’s the most important is that we are going to -finally- introduce proper sprites and sounds to the game. The idea of different surfaces (Like some slippery and bouncy ones) that would affect (And force us to develop) a more complex set of phisycs.

Well, at least I suggested a new issue for the project (new issue) that I will be implementing. That is a new enemy that can’t be killed when shooting at it. This will enable us to develop more levels where we don’t need to care about the gameplay getting to easy if the gun is spammed.

And that is all for this week.
Have a good one.

Miguel Montoya
Esperanto enthusiast
ʕ•ᴥ•ʔ

Anuncios

End of week 8 (Vacations)

--Originally published at That Class Blog

As I was talking about the week before last, we decided to take that week lightly and so the week after that (Because it was our Taller Vertical).

 

5994875062_3d09a434f1_b
“Change” by Mark Deckers (CC BY-NC-ND). From https://www.flickr.com/photos/27454036@N03/5994875062

The summary of the last to weeks is the following:

  1. I made some bugfixes regarding the code I was working the past weeks. Some of the scripts were heavily bugged, especially the ones regarding level setting and getting to and from the database.
  2. Realize that I have to update part of the documentation. That I didn’t do.
  3. Realize as a team that we need more objectives to our project. Because, as it is, we kinda have done everything. So that is what we are going to do this week.

That is all for now. Thanks for tunning in.

Miguel Montoya
Esperanto enthusiast
ʕ•ᴥ•ʔ

I did something different: Week 7 Recapitulation

--Originally published at That Class Blog

This week I worked in getting a level development aid. And I think I did a nice work.

Basically, it’s a mocha/chai script, that connects to the testing database and uploads the JSON file of the level, and if any modification it’s required, it reuploads it. If you refresh the level.

Peek-2018-02-20-20-39(1).gif

I worked also in the development of a third level using this aid. I think I did a nice level, it’s only missing approval of the rest of my partners before uploading it.

P.D: Sorry for the weird visuals in the GIF.

9667850610_527f08b7e1_o
“Nano Titans” by Pascal (CC0). From https://www.flickr.com/photos/pasukaru76/9667850610/

I really did stuff – End of week 5

--Originally published at That Class Blog

So in my previous blog, I wrote that I didn’t have a lot of stuff to do. But I talked to my partners and discussed some self-assignments for this week (And next).

So, basically, I made 4 new issues, of which I completed 2 and left 2 for next week. We were given notice that we are going fast regarding the project development. So, these new issues don’t implement new stuff (Well, kinda of…), but most of them implement new and more efficient ways of doing what we already did.

13982774079_22fd9ae682_k
“Canada goose” by Yi-Lian (Lucas) Liu (CC BY-NC-ND). From https://www.flickr.com/photos/yiliangliu/13982774079/

The first new issue was to implement Mongoose as interface to connect to mLab. This would provide a more stable connection to the DB and schemes and models for document creation and finding. These new models have steps for verifying the content of the documents too. The only problem with this was that the campus’ network has proxies that wouldn’t let the connection to begin with mLab and Mongoose. This problem cause my second issue.

Move our database from mLab to MongoDB Atlas. This wouldn’t have been as complicated if Atlas provided a free interface to the database’s collections and documents. So instead, some scripts were necessary to create to feed the database and check the data that is already uploaded.

Everything was successful at the end. There were 1 or 2 hard complications (Like identifying the problem with mLab and the network). Now two more issues are pending. You can read about them in the next blog.

Miguel Montoya
Esperanto enthusiast
ʕ•ᴥ•ʔ

Wrapping up week 4 – End of week 4

--Originally published at That Class Blog

This week passed way too fast, and I feel there wasn’t a very stable calendar for working hours. Still, I enojoyed the developement, as always…

415211871_3fe436224c_o
“Mongo (and Mongo clone)” by spDuchamp (CC BY). From https://www.flickr.com/photos/duchamp/415211871

This week I worked with the database, succesfully. I helped with the development of a json’s format for level loading (It includes the coordinates for every object and text, as well as some strigified lambda functions to parse when the level is loaded. This last feature I didn’t know it could be applied.

Also with this topic, a back-end function to make a request to the mLab server was made, and a function to properly load the level when the client makes a request.

I also worked with my partners to clean the code and fix some damn bugs we hadn’t ecountered. Well, the truth is that most of them weren’t bugs, just tome minor functionalities that weren’t implemented and caused some undesired characteristics.

Miguel Montoya
Esperanto enthusiast
ʕ•ᴥ•ʔ

I understand testing now – End of week 3

--Originally published at That Class Blog

Okay. 3/15 done.

I felt quite more productive this week.

I finally cracked chai (Using mocha) and supertest. It just clicked somehow. Last week was a lot of confusion and then it just… worked. I can’t even remember the process I made to make it work. Hehe.

9631706311_ee8e32a558_k
“Drone First Test Flight” by Richard Unten (CC BY). From https://www.flickr.com/photos/unten44/9631706311

Part of the problem is that I haven’t worked with http requests before. I didn’t know what an http mock request was, or if I needed one (After trying a lot I realized that I don’t). At the end I achieve victory. I made my description of the tests. I used supertest’s request to assert the main get request to the server and to check the JSON response of a post (Used to properly load the level).

So I’m happy about that.

After passing the JSON test, I helped Arturo making the level actually load from the JSON. It was difficult, again, because my poor HTML skills, and some poor documentation about which function is the adequate to make the request, what should the headers contain and how to encode the JSON through the response.

I had fun.

The team, in general, worked hard to improve the gameplay and add functionalities. I think that a lot of bugs arose during this week’s development. A lot of them just from merging branches. That did also consume work time.

I’m proud of our GitHub more professional usage. Finally, a full team that comprehends branches and the use of issues… YAY!

Let’ s keep it up!

Miguel Montoya
Esperanto enthusiast
ʕ•ᴥ•ʔ