You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

187 lines
12 KiB
HTML

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="../style.css">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<!-- Nav bar -->
<nav>
<ul>
<li><a href="index.html">CONSOLE</a></li>
<li><a href="about.html">ABOUT</a></li>
<li><a href="./event/">EVENT</a></li>
</ul>
</nav>
<div id="content"><h1 id="superdeconstruction">Super(de)construction</h1>
<h2 id="text-adventure-game">text adventure game</h2>
<p>My text-adventure game was (first and foremost a struggle and) an
attempt to dive a little bit into the world of python and deal
peacefully with the potential trauma of coding. The first unsuccessful
try started by making a map on paper with all the possible rooms,
corridors, spaces and the potential inputs of the player. It proved to
be a too-ambitious plan though. So this was the time when the
super(de)construction game was born! I intended to make a fan fiction
text adventure game(!) of the Marxist superstructure theory. There are
three basic rooms where the player can navigate: the Base-ment, the
Apparatus and the Megaroom. People can grab specific “objects” from each
room and check their inventory (for example you can have unpaidlabour,
church, mostlywhitemen from base-ment, apparatus and megaroom
respectively in the same bag!). The game aims to accumulate enough
points in order to bring eventually the revolution and win. The
fermentation and the radicalization happen only in the base-ment.</p>
<p>Will you be part of the revolutionary class?</p>
<p><br class="page-break"></p>
<div class="code">
<pre><code>import os , time , random
# Setting up the current (saved) state
currentRoom = &quot;base-ment&quot;
start = True
graduation = False
study = 0
items = {
&quot;base-ment&quot;: [&quot;unpaidlabor&quot;, &quot;consiousness&quot;, &quot;lackoftime&quot;, &quot;dipression&quot;, &quot;commodities&quot;, &quot;collectivememory&quot;, &quot;laborforce&quot;, &quot;survivalmode&quot;],
&quot;apparatus&quot;: [&quot;game&quot;, &quot;work&quot;, &quot;symbols&quot;, &quot;family&quot;, &quot;church&quot;, &quot;institutionalmemory&quot;, &quot;army&quot;, &quot;ideology&quot;],
&quot;megaroom&quot;: [&quot;hegemony&quot;, &quot;control&quot;, &quot;power&quot;, &quot;violence&quot;, &quot;accumulationofwealth&quot;, &quot;property&quot;, &quot;mostlywhiterichmen&quot;]
}
inventory = []
# Seperating the text and printing in delay so the content on the screen is readable and easy to comprehend
def printer (text):
for t in text:
print(t, end = &quot;&quot;, flush= True)
time.sleep(random.choice([0.0001, 0.005, 0.007]))
print()
# Defining the &quot;taker&quot; function and setting it up in each of the three rooms below
def taker(room):
if any(x in spliti for x in [&quot;get&quot;, &quot;grab&quot;, &quot;take&quot;, &quot;carry&quot;, &quot;steal&quot;, &quot;expropriate&quot;]):
for item in items[room]:
if item in spliti:
printer(&quot;You took &quot; + item)
inventory.append(item)
items[room].remove(item)
# Creating the while-loop
while True:
if (start == True):
printer(&quot;&quot;&quot;
Super(de)construction: The game
__ __ __
/\ \ /\ \__ /\ \__ __
____ __ __ _____ __ _ __ \_\ \ __ ___ ___ ___ ____\ \ ,_\ _ __ __ __ ___\ \ ,_\/\_\ ___ ___
/&#39;,__\/\ \/\ \/\ &#39;__`\ /&#39;__`\/\`&#39;__\/&#39;_` \ /&#39;__`\ /&#39;___\ / __`\ /&#39; _ `\ /&#39;,__\\ \ \/ /\`&#39;__\/\ \/\ \ /&#39;___\ \ \/\/\ \ / __`\ /&#39; _ `\
/\__, `\ \ \_\ \ \ \L\ \/\ __/\ \ \//\ \L\ \/\ __//\ \__//\ \L\ \/\ \/\ \/\__, `\\ \ \_\ \ \/ \ \ \_\ \/\ \__/\ \ \_\ \ \/\ \L\ \/\ \/\ \
\/\____/\ \____/\ \ ,__/\ \____\\ \_\\ \___,_\ \____\ \____\ \____/\ \_\ \_\/\____/ \ \__\\ \_\ \ \____/\ \____\\ \__\\ \_\ \____/\ \_\ \_\
\/___/ \/___/ \ \ \/ \/____/ \/_/ \/__,_ /\/____/\/____/\/___/ \/_/\/_/\/___/ \/__/ \/_/ \/___/ \/____/ \/__/ \/_/\/___/ \/_/\/_/
\ \_\
\/_/
&quot;&quot;&quot;)
printer(&quot;&quot;&quot;
Welcome to the super(de)costruction game or How to destroy the ideological apparatus and capitalism in small steps.
You are a witch in the body of a cultural worker leaving in the poor south. However, you cannot make a living only by selling your labor power so you have to use your magic powers to maintain yourself. You can become invisible in order to expropriate goods from chain supermarkets and share them with your comrades and girlfriends. Thats okay! Inflation ...
You will have an extraordinary chance to walk a lead bit through an enormous architectural miracle and why not dismantle the master&#39;s house!
Are you readyyy???
&quot;&quot;&quot;)
start = False
if (graduation == True):
printer(&quot;You Win!&quot;)
exit()
# Clearing the screen: &quot;cls&quot; for Windows; &quot;clear&quot; for macOS
i = input()
#os.system(&quot;cls&quot;)
spliti = i.split(&quot; &quot;)
# Creating an inventory
if &quot;inventory&quot; in i:
printer(&quot;The truth is that you don&#39;t own anything. You are proletarian. You don&#39;t really have private property. However, in you current inventory you can find &quot; + &quot;, &quot;.join(inventory))
if i in [&quot;talk&quot;,&quot;discuss&quot;,&quot;debate&quot;,&quot;ask&quot;,&quot;say&quot;]:
printer(&quot;Hiiiiiii witch, how can I help you, now that nobody is watching us?&quot;)
i = input()
if i in [&quot;revolution&quot;,&quot;finish&quot;,&quot;free&quot;, &quot;freedom&quot;]:
if study &gt;= 119:
printer(&quot;You did so many things! You struggle a lot, you care, you respect! You are a true witch fighter! Revolution is in the corner.&quot;)
graduation = True
else:
printer(&quot;We should keep the hard work. Do not give up though. Things do change and your contribution is valuable! You have gained &quot; + str(study) + &quot; points. Shall we go again to the base-ment? We have to organise stuff! Please don&#39;t give up. Here is something small for you!&quot;)
printer(&quot;&quot;&quot;
For it is not the anger of Black Women which is dripping down over this globe like a diseased liquid. It is not my anger that launches rockets, spent more than 60,000 dolars second on missiles and other agents of war and death, slaughters children in cities, stockpiles nerve gas and chemical bombs, sodomizes our daughters and the earth. This is not the anger of Black Women which corrodes into blind, dehumanising power, bent upon the annihilation of us all unless we meet it with what we have, our power to examine and to redefine the terms upon which we will live and work; our power to envision and to reconstruct, anger by painful anger, stone upon heavy stone, a future of pollinating difference and the earth to support our choices.
We welcome all women who can meet us, face to face, beyond objectification and beyond guilt.
by Audre Lorde
&quot;&quot;&quot;)
# Choices in the base-ment
if currentRoom == &quot;base-ment&quot;:
if i in [&quot;look&quot;,&quot;see&quot;,&quot;view&quot;,&quot;explore&quot;]:
printer(&quot;Oh I&#39;m in an base-ment, cool. There is little light here. Soooo many people. TheY do work hard. The seem unhappy and dipressed&quot;)
printer(&quot;You can find here: &quot; + &quot;, &quot;.join(items[&quot;base-ment&quot;]))
elif i in [&quot;exit&quot;,&quot;walk&quot;,&quot;run&quot;,&quot;door&quot;,&quot;leave&quot;]:
printer(&quot;You can use this tiny door to exit the base-ment. To be completely honest, you cannot escape that easily the base-ment. You wish you could. It can be really suffocating. However you are a witch, you have class consiousness and you have your caring comrades. So now let&#39;s move. &quot;)
currentRoom = &quot;apparatus&quot;
# The ECTS condition, or the point-gaining system. Every &quot;study&quot; adds 30 points to the player&#39;s score. The goal is to reach 120 points or credits.
elif i in [&quot;disconstruct&quot;, &quot;dismantle&quot;, &quot;poetry&quot;, &quot;street&quot;, &quot;public&quot;, &quot;library&quot;, &quot;counter-culture&quot;,&quot;read&quot;, &quot;struggle&quot;, &quot;collective&quot;, &quot;solidarity&quot;, &quot;fight&quot;, &quot;feminism&quot;, &quot;queer&quot;, &quot;act&quot;, &quot;expropriate&quot;, &quot;parasite&quot;, &quot;organise&quot;, &quot;care&quot;, &quot;reclaim&quot;, &quot;speak&quot;, &quot;counterhegemony&quot;, &quot;escape&quot;, &quot;burn&quot;, &quot;collective&quot;, &quot;demonstrate&quot;, &quot;zine&quot;, &quot;create&quot;, &quot;enjoy&quot;, &quot;disobedience&quot;, &quot;occupy&quot;, &quot;protest&quot;, &quot;manifest&quot;, &quot;shout&quot;, &quot;sing&quot;, &quot;anarchy&quot;, &quot;radical&quot;, &quot;barricade&quot;, &quot;putaspell&quot;, &quot;witchcraft&quot;, &quot;unlearn&quot;]:
printer(&quot;You have struggled soo much!&quot;)
study = study + 30
printer(&quot;The revolution seems to be closer. Cracks still happen and are completely important and vital and powerful. You have gained &quot; + str(study) + &quot; points&quot;)
else:
taker(&quot;base-ment&quot;)
# Choices in the neutral zone
elif currentRoom == &quot;apparatus&quot;:
if i in [&quot;look&quot;,&quot;see&quot;,&quot;view&quot;,&quot;explore&quot;, &quot;open&quot;]:
printer(&quot;Vrooom, vroom, vroom. You are now in the apparatus room! What a contradictory place to be. A wise-structured organised chaos ... Monumental huge buildings, computers, archives, cameras, people in uniforms, banks campus and other big buildings, and borders. Where is the public, though? If you see a little bit closer, it is not that solid.&quot;)
printer(&quot;Oh look in the apparatus you can find: &quot; + &quot;, &quot;.join(items[&quot;apparatus&quot;]))
elif i in [&quot;exit&quot;,&quot;walk&quot;,&quot;run&quot;,&quot;door&quot;,&quot;leave&quot;]:
printer(&quot;You may use this door to exit the apparatus.&quot;)
i = input(&quot;which door? (1 or 2)&quot;)
if i == &quot;1&quot;:
printer(&quot;You use the door to the base-ment&quot;)
currentRoom = &quot;base-ment&quot;
elif i == &quot;2&quot;:
printer(&quot;You use the door to the megaroom&quot;)
currentRoom = &quot;megaroom&quot;
else:
taker(&quot;apparatus&quot;)
# Choices in the megaroom
elif currentRoom == &quot;megaroom&quot;:
if i in [&quot;look&quot;,&quot;see&quot;,&quot;view&quot;,&quot;explore&quot;, &quot;open&quot;]:
printer(&quot;Oh You are in the megaroom! You can tell that it is luxurious, monumental structure classical and contemporary in the same time. You havent seen something similar before! Wowww. But why are so little people? Why the are mostly white men? Dont be stressed - they will not notice you! You enter the mansion as a cleaning lady. You are invisible to them. However, YOU know how radical our marginal identities are! &quot;)
printer(&quot;Oh look in the megaroom! There is : &quot; + &quot;, &quot;.join(items[&quot;megaroom&quot;]))
elif i in [&quot;exit&quot;,&quot;walk&quot;,&quot;run&quot;,&quot;door&quot;,&quot;leave&quot;]:
printer(&quot;You use the door to exit the megaroom.&quot;)
currentRoom = &quot;apparatus&quot;
else:
taker(&quot;megaroom&quot;) </code></pre>
</div>
</div>
</body>
</html>